Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ListView Pin
Abhijit Jana1-Aug-09 6:31
professionalAbhijit Jana1-Aug-09 6:31 
Questionasp.net pop up screens Pin
LucBite1-Aug-09 0:42
LucBite1-Aug-09 0:42 
AnswerRe: asp.net pop up screens Pin
Abhijit Jana1-Aug-09 0:54
professionalAbhijit Jana1-Aug-09 0:54 
Questioncrystal report taking time to open windows 2008 os Pin
rajkumar.31-Aug-09 0:41
rajkumar.31-Aug-09 0:41 
AnswerRe: crystal report taking time to open windows 2008 os Pin
Abhijit Jana1-Aug-09 0:55
professionalAbhijit Jana1-Aug-09 0:55 
AnswerRe: crystal report taking time to open windows 2008 os Pin
r a m e s h1-Aug-09 2:44
r a m e s h1-Aug-09 2:44 
QuestionThe Query string is insecure Pin
LucBite1-Aug-09 0:40
LucBite1-Aug-09 0:40 
AnswerRe: The Query string is insecure Pin
Abhijit Jana1-Aug-09 0:52
professionalAbhijit Jana1-Aug-09 0:52 
LucBite wrote:
I want my application to prompt them to login first.

You can use Session over here.
On login Page, after authentication, Store the userID in Session.
like,
Session["UserID"]=userID;

Now, validate the information in every page when you need,
Protected Void Page_Load(Object Sender, EventArgs e)
{
if(Session["UserID"] == null)
   {
    Response.Redirect("Login.aspx");
   }
   else
   {
    // Show information
   }
}

LucBite wrote:
So, since I believe I'm passing sensitive information I think this is very much insecure.

There is verious way to make it Secure. You can use encrypted Query String,
How to Encrypt Query String Parameters in ASP.NET
Query string encryption for ASP.NET

Hope this will help you Big Grin | :-D

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
View My Latest Article

QuestionJS for Password strength Pin
janani131-Aug-09 0:20
janani131-Aug-09 0:20 
AnswerRe: JS for Password strength Pin
Abhijit Jana1-Aug-09 0:27
professionalAbhijit Jana1-Aug-09 0:27 
GeneralRe: JS for Password strength Pin
janani131-Aug-09 0:35
janani131-Aug-09 0:35 
GeneralRe: JS for Password strength Pin
Blue_Boy1-Aug-09 1:51
Blue_Boy1-Aug-09 1:51 
Questionemail/sms Pin
bhadilov31-Jul-09 22:53
bhadilov31-Jul-09 22:53 
AnswerRe: email/sms Pin
AhsanS31-Jul-09 22:59
AhsanS31-Jul-09 22:59 
AnswerRe: email/sms Pin
Abhijit Jana31-Jul-09 23:00
professionalAbhijit Jana31-Jul-09 23:00 
GeneralRe: email/sms Pin
bhadilov31-Jul-09 23:17
bhadilov31-Jul-09 23:17 
GeneralRe: email/sms Pin
Abhijit Jana31-Jul-09 23:28
professionalAbhijit Jana31-Jul-09 23:28 
GeneralRe: email/sms Pin
N a v a n e e t h1-Aug-09 4:49
N a v a n e e t h1-Aug-09 4:49 
AnswerRe: email/sms Pin
Manas Bhardwaj31-Jul-09 23:03
professionalManas Bhardwaj31-Jul-09 23:03 
GeneralRe: email/sms Pin
bhadilov31-Jul-09 23:27
bhadilov31-Jul-09 23:27 
Questioninternet hyperlinks Pin
bhadilov31-Jul-09 21:42
bhadilov31-Jul-09 21:42 
AnswerRe: internet hyperlinks Pin
Abhijit Jana31-Jul-09 21:50
professionalAbhijit Jana31-Jul-09 21:50 
AnswerRe: internet hyperlinks Pin
bhadilov31-Jul-09 22:06
bhadilov31-Jul-09 22:06 
GeneralRe: internet hyperlinks Pin
Abhijit Jana31-Jul-09 22:20
professionalAbhijit Jana31-Jul-09 22:20 
GeneralRe: internet hyperlinks Pin
Manas Bhardwaj31-Jul-09 23:05
professionalManas Bhardwaj31-Jul-09 23:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.