Click here to Skip to main content
16,004,991 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Applying Themes in ALL pages Pin
Abhijit Jana1-Jan-09 18:50
professionalAbhijit Jana1-Jan-09 18:50 
Questionhow to reset SessionID Pin
Sundar_R1-Jan-09 3:22
Sundar_R1-Jan-09 3:22 
AnswerRe: how to reset SessionID Pin
Christian Graus1-Jan-09 3:23
protectorChristian Graus1-Jan-09 3:23 
AnswerRe: how to reset SessionID Pin
Guffa1-Jan-09 4:00
Guffa1-Jan-09 4:00 
Questionhow to logout in asp.net 2.0 Pin
yogesh_softworld1231-Jan-09 3:05
yogesh_softworld1231-Jan-09 3:05 
AnswerRe: how to logout in asp.net 2.0 Pin
Christian Graus1-Jan-09 3:07
protectorChristian Graus1-Jan-09 3:07 
AnswerRe: how to logout in asp.net 2.0 Pin
N a v a n e e t h1-Jan-09 3:07
N a v a n e e t h1-Jan-09 3:07 
AnswerRe: how to logout in asp.net 2.0 Pin
Aman Bhullar1-Jan-09 3:47
Aman Bhullar1-Jan-09 3:47 
yogesh_softworld123 wrote:
i used session.remove("userid") and session.removeAll(). it


If you are using the Session mode as InProc then, procedure will be as:

1. Open global.asax file and searh for "void Session_End(object sender, EventArgs e)"
In this function initialize your sesion variables to default value or NULL value as desired.

2. Use Session.Abandon() to clear the Session, this will call Session_End function of Global.asax.

In case you are using stateserver as session mode,
the above code will not help you.
You need to clear the variables manually in login page load event.
GeneralRe: how to logout in asp.net 2.0 Pin
N a v a n e e t h1-Jan-09 16:26
N a v a n e e t h1-Jan-09 16:26 
GeneralRe: how to logout in asp.net 2.0 Pin
Aman Bhullar1-Jan-09 18:17
Aman Bhullar1-Jan-09 18:17 
QuestionGridview Problem Pin
monika_vasvani1-Jan-09 2:13
monika_vasvani1-Jan-09 2:13 
AnswerRe: Gridview Problem Pin
Christian Graus1-Jan-09 2:24
protectorChristian Graus1-Jan-09 2:24 
QuestionListSearchExtender not working Pin
jay.net20051-Jan-09 2:06
jay.net20051-Jan-09 2:06 
AnswerRe: ListSearchExtender not working Pin
Christian Graus1-Jan-09 2:25
protectorChristian Graus1-Jan-09 2:25 
AnswerRe: ListSearchExtender not working Pin
N a v a n e e t h1-Jan-09 3:05
N a v a n e e t h1-Jan-09 3:05 
GeneralRe: ListSearchExtender not working Pin
Christian Graus1-Jan-09 3:07
protectorChristian Graus1-Jan-09 3:07 
GeneralRe: ListSearchExtender not working Pin
N a v a n e e t h1-Jan-09 3:19
N a v a n e e t h1-Jan-09 3:19 
GeneralRe: ListSearchExtender not working Pin
Christian Graus1-Jan-09 3:23
protectorChristian Graus1-Jan-09 3:23 
QuestionGetting HTML result of Custom User Control for use in an email Pin
Justin Porteous1-Jan-09 1:40
Justin Porteous1-Jan-09 1:40 
AnswerRe: Getting HTML result of Custom User Control for use in an email Pin
N a v a n e e t h1-Jan-09 1:47
N a v a n e e t h1-Jan-09 1:47 
GeneralRe: Getting HTML result of Custom User Control for use in an email Pin
Justin Porteous1-Jan-09 2:02
Justin Porteous1-Jan-09 2:02 
GeneralRe: Getting HTML result of Custom User Control for use in an email Pin
Justin Porteous1-Jan-09 2:04
Justin Porteous1-Jan-09 2:04 
AnswerRe: Getting HTML result of Custom User Control for use in an email Pin
Justin Porteous1-Jan-09 2:02
Justin Porteous1-Jan-09 2:02 
Questiondynamically adding values to RadioButton Pin
premprakashbhati1-Jan-09 1:12
premprakashbhati1-Jan-09 1:12 
AnswerRe: dynamically adding values to RadioButton Pin
Christian Graus1-Jan-09 2:30
protectorChristian Graus1-Jan-09 2:30 

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.