[pmwiki-devel] Sessions questions...
The Editor
editor at fast.st
Fri May 11 10:33:31 CDT 2007
I'm doing some interesting work with sessions but have a couple
general questions.
To set a session unique to each field, you would use
session_id($id);
then you would call
session_start()
then you would read or write values as needed
Then to close you would use
session_write_close()
is that correct?
Is it best to start the session just once, at the beginning and close
at the end, or start and close several times in a long script? And if
the first, will the same session_id be used each time?
Does the session id have to be unique for each user? And if so how do
you do that?
Is there a way to renew a session's "timer" so if they are on your
site a long time, it gets renewed each time they load a page?
Thanks in advance...
Cheers,
Dan
More information about the pmwiki-devel
mailing list