bluesauceuk
Programmer
Hello,
I have written my site, I have a members area and they can login and view the members area.
I would like it to end the session and log them out on browser close.
At the moment my code says, you have x minutes untill you can login again.
Is there a way that kills the session when the browser window is closed.
I have tried the onleave javascript function. but that only kills the session when you are swapping pages!
Can anyone help?
Mark
I have written my site, I have a members area and they can login and view the members area.
I would like it to end the session and log them out on browser close.
At the moment my code says, you have x minutes untill you can login again.
Is there a way that kills the session when the browser window is closed.
I have tried the onleave javascript function. but that only kills the session when you are swapping pages!
Can anyone help?
Mark