SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Clearing Session

    Hello

    On my web page home.htm, I have a link called "Franchises".
    When the user clicks the link, they are forwarded to "franch\franchises.htm".

    Since this directory is password protected, a message box appears prompting for a user id and pwd.

    On the web page "franch\franchises.htm" I have a "logout" link. I need this link to re-direct them to the home page (which I have done), but also clear the session details.

    I can't seem to find out how to clear out these session details in Javascript.

    Can someone please help me out.

    Thanks.

  2. #2
    SitePoint Addict
    Join Date
    Oct 2006
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Short of closing the browser, I'm doubt any of the major browsers support clearing a site's HTTP Authentication user name and password. But I not an authority on this subject and don't use HTTP Authentication.


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
  •