Click here to Skip to main content
15,896,348 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana16-Jan-09 21:31
professionalAbhijit Jana16-Jan-09 21:31 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39516-Jan-09 23:29
meeram39516-Jan-09 23:29 
GeneralRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana17-Jan-09 0:09
professionalAbhijit Jana17-Jan-09 0:09 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39517-Jan-09 17:41
meeram39517-Jan-09 17:41 
GeneralRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana17-Jan-09 19:54
professionalAbhijit Jana17-Jan-09 19:54 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39518-Jan-09 23:31
meeram39518-Jan-09 23:31 
QuestionSession probs??? Pin
Member 387988116-Jan-09 19:09
Member 387988116-Jan-09 19:09 
AnswerRe: Session probs??? Pin
Abhijit Jana16-Jan-09 19:27
professionalAbhijit Jana16-Jan-09 19:27 
Session.Abandon() , Cancels the current session , Means The Abandon method destroys all of the session objects and releases their resources for that user.
If you check the session variable after that you will get Null object.
<br />
Session.Remove(strSessionName)
, Remove an Item from Session State Collection . So Its only remove that particular item that you have mention on strSessionName .

Now about your problem,
Use Session.Abandon() at the time of Logoff. It will clear session data and destroy the objects , and While checking first time in login , check session variable first , if its null, redirect user to login page again Smile | :)

And If you are more interested on session just read Exploring Session in ASP.Net[^]

cheers,
Abhijit
CodeProject MVP
My Recent Article : Exploring Session in ASP.Net

AnswerRe: Session probs??? Pin
Aman Bhullar16-Jan-09 19:33
Aman Bhullar16-Jan-09 19:33 
Questionset the cursor at the end of textbox Pin
dilip51416-Jan-09 18:36
dilip51416-Jan-09 18:36 
AnswerRe: set the cursor at the end of textbox Pin
Abhijit Jana16-Jan-09 19:31
professionalAbhijit Jana16-Jan-09 19:31 
Questionhelp me Pin
ArunRevathy16-Jan-09 17:56
ArunRevathy16-Jan-09 17:56 
AnswerRe: help me Pin
N a v a n e e t h16-Jan-09 18:29
N a v a n e e t h16-Jan-09 18:29 
AnswerRe: help me Pin
Abhijit Jana16-Jan-09 19:09
professionalAbhijit Jana16-Jan-09 19:09 
AnswerRe: help me Pin
Christian Graus17-Jan-09 0:25
protectorChristian Graus17-Jan-09 0:25 
QuestionUnable to get the response code from authorize .net Pin
vnr16-Jan-09 17:35
vnr16-Jan-09 17:35 
AnswerRe: Unable to get the response code from authorize .net Pin
N a v a n e e t h16-Jan-09 18:31
N a v a n e e t h16-Jan-09 18:31 
QuestionEditing rows in a GridView Pin
Cyberpulse16-Jan-09 15:37
Cyberpulse16-Jan-09 15:37 
AnswerRe: Editing rows in a GridView Pin
Jon Rista16-Jan-09 15:48
Jon Rista16-Jan-09 15:48 
GeneralRe: Editing rows in a GridView Pin
Cyberpulse17-Jan-09 21:17
Cyberpulse17-Jan-09 21:17 
QuestionCustom Server Control Color Property Problem Pin
vickyshah16-Jan-09 9:30
vickyshah16-Jan-09 9:30 
AnswerRe: Custom Server Control Color Property Problem Pin
N a v a n e e t h16-Jan-09 15:27
N a v a n e e t h16-Jan-09 15:27 
Question[newbie] Pin
jon-8016-Jan-09 9:04
professionaljon-8016-Jan-09 9:04 
AnswerRe: [newbie] Pin
Christian Graus16-Jan-09 9:12
protectorChristian Graus16-Jan-09 9:12 
GeneralRe: [newbie] Pin
jon-8016-Jan-09 9:55
professionaljon-8016-Jan-09 9:55 

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.