Re: cookies multiple pages

From: Date: Wed, 03 Jul 2002 15:34:56 +0000
Subject: Re: cookies multiple pages
Groups: php.db 
Request: Send a blank email to php-db+get-20301@lists.php.net to get a copy of this message
One thing I did find was to look at your php.ini file and see where the session.save_path=/tmp this is now pointing to your server /tmp not the apache directory anymore so you will either have to change the permissions on that folder so apache can write there or make a directory somewhere else and do the same. That is how I got my sessions to work again and or court to make sure it is enabled. As for the mulitple cookies that is still a somthing I have not been able to get to work. When I posted it in the bugs. section of php.net they said to use the cvs apache 2.0.4 version and it should work...but I am not in a position to put non-stable things in production. HTH-- Khris Terry Romine <eatrom@blazing-trails.com> 07/03/2002 11:32 AM To: Jeffrey_N_Dyke@Keane.com cc: php-db <php-db@lists.php.net> Subject: Re: [PHP-DB] cookies multiple pages 1) no, the commented setcookie("user_data","",time()+(3600)); // set for 6 weeks *24*7*6 I would move the *24*7*6 back into the (3600) to make it so. I just want to test for an hour 2) so maybe this is a problem with the server? I've been tearing my hair out because neither cookies nor sessions are acting the way that I have done them in the past on a different server. **sigh** On Wednesday, July 3, 2002, at 10:05 AM, Jeffrey_N_Dyke@Keane.com wrote: > Is this a issue with register _globals = off. try referencing it with > $_COOKIE['user_data']. > Also isn't 3600 only an hour. 60secs * 60mins? i think 6 weeks would > be... 151200 60 * 60 * 42days > does that work? > > Jeff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#20301) next »