Click here to Skip to main content
15,843,137 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i found a problem in my website that

when user logged in page not redirect to login page in browser back button
like gmail.please give complate solution for that.

thak you in advance
Posted
Comments
Sampath Kumar Sathiya 14-Dec-12 0:27am    
Could you please give some more details? If user clicks the back button whether you want to redirect to login page or if user trying to access any page before login you want to land in login page.
kaushikpintu 14-Dec-12 2:35am    
My Problem is like
when user logged in
for example if u login in gmail then control transfer to inbox mail and now u browser back button click control not transfer to login page.

please give me solution

1 solution

Check this link to disable backbutton in javascript and in c#
http://csharpdotnetfreak.blogspot.com/2009/04/disable-browser-back-button-javascript.html[^]
 
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