PDA

View Full Version : Script for signing out



Prathima
10-04-2007, 10:19 AM
Hello,
I am using vs.net 2003 and using windows authentication. and I am creating sessions whenever logging in.In my webpage, when i press "logout" link, i abandon the session and redirecting to the logout.aspx page but when i press the back button in the Browser window, the previous page is displayed which i need to be stopped. what shall i do? i want the login.aspx page should be displayed when the user press the back button after logout. For that i need a script for logout.Please Help me out,its very urgent.

Thanks in Advance.

tech_support
10-04-2007, 10:53 AM
If you press the Back button, the page will still stay there - unrefreshed, from the cache. Try refreshing the page and see what happens.

Prathima
10-04-2007, 12:35 PM
Hi,
Thanks for Reply.I tried by refreshing also,but unable to solve my problem.I s there any other way to clear browser cache's or any scripts to do postback.please help me out.