Look at on_session_save_handler in the manual, I believe there is an example there on how to do this. If not google it, many examples of this exist... So many that I don't think it's worth spamming this list with my own examples.
-Javier -----Original Message----- From: [-^-!-%- [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 2:35 PM To: Burhan Khalid Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SESSION Not behaving II: permission denied(13) That would be one solution, but I am on a shared hosting server. I cannot change the folder permissions. I've asked tech support to look into this. Does anyone know where I can get a class that will save the session vars to mysql? =P e p i e D e s i g n s www.pepiedesigns.com Providing Solutions That Increase Productivity Web Developement. Database. Hosting. Multimedia. On Sat, 18 Oct 2003, Burhan Khalid wrote: > [-^-!-%- wrote: > > Yep. It's me again. 96 hours into the battle, and SESSIONS are still > > winning. > > > > I've written my login script and is now getting the following error. > > Please advise. > > > > Warning: open(/tmp/sess_a690c089dead297c95034d9fe243f860, O_RDWR) > > failed: Permission denied (13) in Unknown on line 0 > > > > Warning: Failed to write session data (files). Please verify that > > the current setting of session.save_path is correct (/tmp) in > > Unknown on line 0 > > First thing, make sure /tmp exists. > If it does, make sure that the apache user has permissions to write to > it. You can modify its permissions so that the apache user and/or > group can write to /tmp; or you can chmod it to 777 (which could lead > to other security issues). > > This should get rid of your warnings. > > -- > Burhan Khalid > phplist[at]meidomus[dot]com > http://www.meidomus.com > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php