Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi. .sir,
I am developing online examination system.
I want to coding for logout. when i want to logout from my site

plz sir send me the code for it in Asp.net [C#].in proper way..!
Posted

Always come with your code if you have any issue, It won't help by saying only "not working". Check this Tip/Trick

Browser back button issue after logout[^]
 
Share this answer
 
U just have to remove session value (I hope u use session for that)


C#
Session.Abandon();
 
Share this answer
 
Comments
Member 8588007 4-Feb-12 1:19am    
Sir , i am try to removing session but it can not working.

plz tell me that how can i remove session. .
with codeing
CRDave1988 4-Feb-12 1:21am    
can u show me ur login code or access restriction code which u use on every page

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900