RE: [PHP] Number of session records for 1 particular session
| From: | Boget, Chris | Date: | Fri, 06 Oct 2000 17:19:51 +0000 |
| Subject: | RE: [PHP] Number of session records for 1 particular session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18948@lists.php.net to get a copy of this message | ||
> I store my session data in a mysql database. Does
> it matter how many records I have for a particular
> session? So long as I don't have the session field
> as primary key? Also, does it matter as to how I
> structure the table? Could I have more than just
> the fields for the session key, expire date and value?
>
> Will the internal session functions get confused if
> I do?
Addendum: I'm using my own session handler functions
for reading, writing, etc so I know as long as I account
for it in my functions, it's all good. I'm talking about
the internal functions like session_register(), etc... Will
they get confused? Will I be unable to use them if I do
use my own table structure making it so that I can *only*
use my defined functions?
Chris