View Single Post
 
Old July 31st, 2003, 02:23 PM
nikolai nikolai is offline
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, you set your session save handler to user... did you actually write custom session handling functions? If so, did you register them as the session handlers?

Basically, you told PHP that you, the user, would provide the functions that handle opening, closing, reading, writing, and deleting session data. If PHP is NOT told which custom user-defined functions will perform the above session data maintenance tasks, then it cannot, obviously, start a session -- from where will it retrieve the session data? To where will PHP store the data?

I could give you a big overview on sessions, but there's already a lot of info posted about it. Read the articles on custom session handlers for PHP4 on PHPBuilder. They're dated, but they should give you a pretty good idea for what to do.


Take care,

Nik
http://www.bigaction.org/