Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I developed one web application, login page is there for login, after logged in I pressed F5 Button for refresh, then its logout, how can I resolved this problem. I used one frame set here for hide page names in address bar.

Please give me solution ASAP,
How do I solve this?

My mail Id: <removed>@gmail.com

Thanks,

Syam Kumar.
Posted
Updated 26-Sep-11 21:05pm
v3

1 solution

Look, Sir;
F5 or refresh reapplies the last request. it most likely the last request empties the session state just like the code below.

C#
if( !session_is_empty() ){
   empty_the_session();
}
else{
   register_session_variables();
}
 
Share this answer
 
Comments
Syam Kumar y 28-Sep-11 0:18am    
Thank you sir@

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