Results 1 to 3 of 3

Thread: Script for signing out

  1. #1
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script for signing out

    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.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    If you press the Back button, the page will still stay there - unrefreshed, from the cache. Try refreshing the page and see what happens.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •