Fri Jan 30, 2009 9:00 pm
I'm new to php, but not to programming, and i'm using very basics of sessions to manage a user being logged into my site. When testing it, everything works until I move away from my site. I would like the session to be destroyed if you navigate away, is there an easy way of doing this without using javascript (i'm trying to make my site javascript-less for those who chose not to have scripts enabled)?
Fri Jan 30, 2009 9:21 pm
Here an example :
finished-projects/login-using-session-with-php-and-mysql-t3228.htmlyou can use the session time out to detect the period if time which the user didn't interacted with the page . Javascript is used to detect when the user click close the browser window .
i have saw your posts on other forums with good answers ?
are u spam ? looking for backlinks ?
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.