Reading PHP Session Files?
| From: | Devin Atencio | Date: | Mon, 18 Feb 2002 18:09:18 +0000 |
| Subject: | Reading PHP Session Files? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85241@lists.php.net to get a copy of this message | ||
I have a program that saves session information into the database. It saves the session
info much like the PHP4 session files. I need to allow my script to pull the session info
out of the database then update one of the fields and then write back out the entire
session string back to the database, how can i do this?
The session info in the database looks like this:
a:1:{i:0;a:7:{s:2:"id";s:16:"Default
identity";s:8:"fullname";s:13:"Devin
Atencio";s:9:"from_addr";s:0:"";s:12:"replyto_addr";s:0:"";s:9:"signature";s:0:"";s:10:"sig_dashes";i:0;s:9:"sig_first";i:0;}}