Invalidating session on browser close

When using different workstations or if the browser is closed, there is no issue.In this solution, we will be using custom Java Script pages to invalidate the browser’s HTTP session cookie from the web server.Access to a web servers is typically permitted only through NAM once the user has authenticated to NAM.

The solution consists of the following components: The clear will be placed on the web server.

If “User-A” authenticates to NAM, accesses the application, and then logs out of NAM, the browser will be left with a valid HTTP session cookie for User-A in the browser.

If “User-B” immediately authenticates to NAM using the same browser, and then accesses the web application, User-B will resume User-A’s HTTP session.

Generally this is desired behavior, as it preserves the state of the users previous session with the web server.


The potential problem comes when two users are involved with this scenario.To prevent this behavior, the HTTP session cookie of User-A’s must be invalidated on either the browser or server.


  1. Pingback:

  2. eric   •  

    Arch Linux's Pacman has been around for a long time and it's often considered one of the fastest package management utilities around.

  3. eric   •  

    Reporting any illegal activity to law enforcement authorities is something that we will not hesitate to take. All you will need to participate is to have flash installed and running on your desktop or laptop.

  4. eric   •  

    A great way to make that happen is to be doing something you enjoy at the same time. These days 5k runs are all about the socializing so try a suds run where beer is handed out halfway and a party is held at the finish line, complete with DJ and more suds.

  5. eric   •  

    Many people view mobile dating apps like Tinder as nothing more than hook-up apps, because it’s free to use and there isn’t much of a filtering process outside of whether or not you like someone’s photos.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>