Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
After a user login's in a website after giving his credentials, when the use clicks the back button in any browser (like google chrome,mozilla firefox,etc), it goes back to the login page and when the user clicks the forward button it comes back to welcome page.
Posted
Comments
Dharmesh .S. Patil 9-Jul-15 1:37am    
What is your question ? You was not maintain states that-wise this happens.
Akhil Mittal 9-Jul-15 1:38am    
Elaborate your question please
Azziet 9-Jul-15 2:04am    
explain please, this is browser functionality..

1 solution

Whats your expectation.?

If you want to show welcome page on back button click after login, check the session value in Login page load event and redirect to welcome page.
 
Share this answer
 

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