Re: Differences in old php/apach. to new php/apach. cookie process?
| From: | Justin French | Date: | Sun, 14 Apr 2002 11:17:15 +0000 |
| Subject: | Re: Differences in old php/apach. to new php/apach. cookie process? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92919@lists.php.net to get a copy of this message | ||
Ummmmm, have you search the manual at all????????
I did two quick searches, and found some good hints... it may not be your
problem, but, it's a good starting point, before asking questions.
I started with setcookie():
"In PHP 3, multiple calls to setcookie() in the same script will be
performed in reverse order. If you are trying todelete one cookie before
inserting another you should put the insert before the delete. In PHP 4,
multiple calls to setcookie() are performed in the order called."
http://www.php.net/manual/en/function.setcookie.php
I also did a search on the manual for "cookies" and the first result was a
page discussing the migration of php3 > php4, in specific, how cookies work
differently.
http://www.php.net/manual/ro/migration4.cookies.php
Wow! Isn't the manual a wonderful resource :P
Justin French
--------------------
Creative Director
http://Indent.com.au
--------------------
on 14/04/02 6:54 PM, heinisch@creaction.de (heinisch@creaction.de) wrote:
> Sorry, but this problem hasn´t been solved yet, It drives me crazy.
>
> At 12.04.2002 17:41, I wrote:
>> Hi Folks,
>> Does anybody know if there are differences in cookieprocessing
>> between
>> A.Suse 2.2.14-SMP/apache 1.3.12 / PHP 3.0.16 and
>> B.Suse 2.4.9 /apache 1.3.20 / PHP 4.0.6
>> I have moved "working pages" from A to B, and now (Win)Opera 6.01
>> will not accept cookies from the, formerly working, pages. I have
>> CookieTracking on
>> on both machines. The apache-cookie is sent and set from both machines.
>> But my php-routines (which sends the fitting cookie to the dif. browsers)
>> work different.
>> Someone had same problems?
>> Maybe I forgot something in httpd.conf on B ?
>> Any suggestions?
>>
>> TIA Oliver
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>