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. |
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. |
>>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. |
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.) |