Re: session under windows
| From: | neil smith | Date: | Wed, 25 Sep 2002 14:07:14 +0000 |
| Subject: | Re: session under windows | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16001@lists.php.net to get a copy of this message | ||
Hi
It looks like you have set a session save handler as 'user' rather than 'files'
PHP allows you to define user functions for saving session data (for example to a DB opn large sites over multiple servers).
You are looking for session files in your directory, whereas PHP expects you to have defined an external (script) session handling function somewhere because you have specidfied 'user'
Why not change it back in your php.ini and see if it works then ?
Cheers,
Neil Smith.
At 13:04 25/09/2002 +0000, you wrote:
---------------------------------------------------------------------- Message-ID: <20020925012539.8033.qmail@pb1.pair.com> To: php-windows@lists.php.net From: "Antonello Oliveri" <antonello.oliveri@libero.it> Date: Wed, 25 Sep 2002 03:27:11 +0200 Subject: session under windows I've istalled PHP ver. 4.2.3 on two Windows98SE machines and on a WindowsXP machine all running PWS 4.0 and/or Apache 1.3.22. Sessions seem not work. correcly. PHP write the file ss_xxxxxxxxxxxxxxxxxxxxxxxx the first time and then it' doesn't update it and variables registered are not rescued and initializad to the correct value, in other words they are not setted. I tried different configuration of the php.ini according with directives from www.php.net . and giving ( to be sure ) to run the different examples about session publishet on the official site. This is the content of the Session section: [Session] session.save_handler=user session.save_path=C:\windows\temp__________________________________________________________ VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world.