Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 19, 2012 11:26 AM by ramiramilu
Member
31 Points
51 Posts
Apr 19, 2012 11:04 AM|LINK
Hi every one i have a login page
after login in whin i click back in browser it comes back and when i click forward it goes in to the page how to stop that....
and how to show the login page when forward button click
Im using this for mobile website so java script is not working
Participant
1112 Points
534 Posts
Apr 19, 2012 11:08 AM|LINK
This is not a good method.Make use of session object and check session in your master page.
If a user log out redirect to LoginPage, even if user press fprward button it will redirect to LoginPage bcs of Condition we have written.
All-Star
95463 Points
14106 Posts
Apr 19, 2012 11:26 AM|LINK
you need to prevent caching by browser...browser caches every page html....to make a page not to be cacheable by browser -
http://forums.asp.net/t/1758189.aspx/1
Thanks,
jesunathan
Member
31 Points
51 Posts
how to stop forward button click when loged out to prevent from login
Apr 19, 2012 11:04 AM|LINK
Hi every one i have a login page
after login in whin i click back in browser it comes back and when i click forward it goes in to the page how to stop that....
and how to show the login page when forward button click
Im using this for mobile website so java script is not working
Honnappa
Participant
1112 Points
534 Posts
Re: how to stop forward button click when loged out to prevent from login
Apr 19, 2012 11:08 AM|LINK
This is not a good method.Make use of session object and check session in your master page.
If a user log out redirect to LoginPage, even if user press fprward button it will redirect to LoginPage bcs of Condition we have written.
My Profile
ramiramilu
All-Star
95463 Points
14106 Posts
Re: how to stop forward button click when loged out to prevent from login
Apr 19, 2012 11:26 AM|LINK
you need to prevent caching by browser...browser caches every page html....to make a page not to be cacheable by browser -
http://forums.asp.net/t/1758189.aspx/1
Thanks,
JumpStart