Click here to Skip to main content
15,913,159 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Getting the URL from redirect variable Pin
meeram3954-Jan-10 22:18
meeram3954-Jan-10 22:18 
AnswerRe: Getting the URL from redirect variable Pin
sashidhar5-Jan-10 0:14
sashidhar5-Jan-10 0:14 
GeneralRe: Getting the URL from redirect variable Pin
meeram3955-Jan-10 0:48
meeram3955-Jan-10 0:48 
QuestionEncrypt web.config file Pin
Rock Star.4-Jan-10 20:45
Rock Star.4-Jan-10 20:45 
AnswerRe: Encrypt web.config file Pin
Abhishek Sur4-Jan-10 21:12
professionalAbhishek Sur4-Jan-10 21:12 
GeneralRe: Encrypt web.config file Pin
Rock Star.4-Jan-10 21:20
Rock Star.4-Jan-10 21:20 
AnswerRe: Encrypt web.config file Pin
carlecomm6-Jan-10 19:05
carlecomm6-Jan-10 19:05 
Questionsession Pin
baselanfouqa4-Jan-10 19:53
baselanfouqa4-Jan-10 19:53 
hi all,

in my web application i made a session (Session["UserName"] = tbUserName.text) so it saves value in it if username is correct and redirect the user to mainpage.aspx.
the problem is:-

in login page if i copy the link of main page and paste it in address bar
at the login page it redirects it without even entering any data at Username and password.

i tried to check the session in main.aspx and see if empty redirect user to login which works the first time but as soon as i enter valid username and password in login the problem appear again even when i put the following at logout linkbutton (session["UserName"] = null)

can anyone help!!!!
thx in advance
AnswerRe: session Pin
rakeshs3124-Jan-10 19:59
rakeshs3124-Jan-10 19:59 
GeneralRe: session Pin
baselanfouqa4-Jan-10 20:02
baselanfouqa4-Jan-10 20:02 
AnswerRe: session Pin
nagendrathecoder4-Jan-10 20:03
nagendrathecoder4-Jan-10 20:03 
GeneralRe: session Pin
baselanfouqa4-Jan-10 20:04
baselanfouqa4-Jan-10 20:04 
GeneralRe: session Pin
Abhijit Jana4-Jan-10 20:10
professionalAbhijit Jana4-Jan-10 20:10 
GeneralRe: session Pin
nagendrathecoder4-Jan-10 20:11
nagendrathecoder4-Jan-10 20:11 
AnswerRe: session Pin
Abhijit Jana4-Jan-10 20:09
professionalAbhijit Jana4-Jan-10 20:09 
GeneralRe: session Pin
baselanfouqa4-Jan-10 20:15
baselanfouqa4-Jan-10 20:15 
GeneralRe: session Pin
nagendrathecoder4-Jan-10 20:18
nagendrathecoder4-Jan-10 20:18 
AnswerRe: session Pin
Dinesh Mani4-Jan-10 20:09
Dinesh Mani4-Jan-10 20:09 
GeneralRe: session Pin
baselanfouqa4-Jan-10 20:19
baselanfouqa4-Jan-10 20:19 
GeneralRe: session Pin
Dinesh Mani4-Jan-10 20:23
Dinesh Mani4-Jan-10 20:23 
GeneralRe: session Pin
baselanfouqa4-Jan-10 20:32
baselanfouqa4-Jan-10 20:32 
GeneralRe: session Pin
Dinesh Mani4-Jan-10 20:42
Dinesh Mani4-Jan-10 20:42 
GeneralRe: session Pin
baselanfouqa4-Jan-10 20:58
baselanfouqa4-Jan-10 20:58 
GeneralRe: session Pin
Abhishek Sur4-Jan-10 21:01
professionalAbhishek Sur4-Jan-10 21:01 
Questionassign syle to the row at runtime Pin
yesu prakash4-Jan-10 19:13
yesu prakash4-Jan-10 19:13 

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.