And if I set $ss->regenerate_id = true; in my session handler that updates a table with session ids, in IE, it will generate 10-20 session records per refresh. Does not do this in any other browser (Firefox, Safari, etc., etc.) and it's inflating my users online count. If I change $ss->regenerate_id = false then the problem goes away but not regenerating the session id kind of defeats the purpose right?
Vagharshak Tozalakyan - 2007-12-01 16:55:45 - In reply to message 3 from Tom T
You may try the following:
1. Download the sample at "http://tozalakyan.com/db_sess_test.zip".
2. Install "schema.sql" and edit "includes/db_params.inc.php".
3. Run in IE and check the session records in db.
3. Run in Firefox and check the session records in db.
4. Set "$ss->regenerateId = true;" in "includes.init.inc.php" and check again.
This script should be acting the same way for each browser.
Tom T - 2007-12-01 17:26:22 - In reply to message 4 from Vagharshak Tozalakyan
I downloaded and installed the sample and when I set regenerate = true, the code generates a new record in the session table for each refresh/page load not just in IE, but in Safari (Mozilla) as well now.
The fingerprints are the same but the sessionids are different.
Thanks for your help by the way, I really appreciate it.