|
-
February 6th, 2007, 02:05 AM
#5
Re: active sessions
well, if you have a way of detecting when the user closes the browser window/leaves the page, you can forcfully destroy the session with session_destroy.
if you just want to know how to safely overwrite php's session functions, check session_set_save_handler.
There also some ready-to-use tools out there which hook onto php sessions functions and save the sessions data in databases.
the good think with session_set_save_handler is, that you can just go on and use the normal session functions and the $_SESSION array.
there are 10 kinds of people. those who understand binary and those who don't...
rate a post if you find it usefull, thx
check out my Firefox/Mozilla Extension: http://urlparams.blogwart.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|