Quote:
Originally posted by cpradio
that would be nine minutes 480 would be 8 minutes.
That is not the expiration of the session but tells the page when to remove a particular person from the database. If they have not been active for 15 minutes it will delete their row in the database or else it will keep it. (this is the hardest to understand)
When the person first visits your site, they are given a session and placed into a database that records the time, date, and session id (according to the snippet you found).
Now as they browse through the site every page that has the snippet you found will update their time and date so it shows them as active. If they leave the site or close the browser or just do not do anything for 15 minutes, when the next user visits your page, it will delete the inactive users from the database.
I hope this makes some sense. I know its confusing but once you get the idea it begins to make more sense as time passes.
-Matt
I never said I was good at math :) Yes, I undestand that's not the expiration date. I just don't want the count to be 15 minutes off. I really don't want it to be 8 minutes off either, but oh well.