Google Blogoscoped

Forum

Browser window cannot be used after logging once.

Suresh S [PersonRank 10]

Wednesday, August 19, 2009
14 years ago2,721 views

Some Banking sites, do not allow the same browser instance to be used agin for login,after logging out.want to know ("Pease use new browser window to logon"), how this can be done.expecting a good solution to implement from forum memebers.

Suresh S [PersonRank 10]

14 years ago #

Any help please!!

Tony Ruscoe [PersonRank 10]

14 years ago #

Do you mean you want to replicate this behaviour on a website of your own? If so, you just need to set a server-side session cookie. You can then check whether that cookie exists after the user has signed out and tell them to close their browser. Opening a new browser window would then create a new session.

Suresh S [PersonRank 10]

14 years ago #

>>Do you mean you want to replicate this behaviour on a website of your >>own?
yes tony, thanks for the solution, what if i clear the server side session cookie and try again.

Tony Ruscoe [PersonRank 10]

14 years ago #

The user can't clear the server-side session cookie without closing their browser or waiting for the session to time out. (And if you don't want the session to time out, you could add an iframe containing a page that refreshes every few minutes to keep the session alive.)

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!