Re: PHP Sessions - Cookies Not Saving
| From: | daniel at electroteque dot org | Date: | Fri, 05 Mar 2004 04:24:32 +0000 |
| Subject: | Re: PHP Sessions - Cookies Not Saving | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179525@lists.php.net to get a copy of this message | ||
Is it a non default /tmp ? If so it should be in php.ini or u have to set
where it is with an ini_set , hope that helps.
> AAAAAAAAAAAAAAARRRRRRRRRRRRGGGGGGGGGGGHHHHHHHHHHHHH!!!!!!!!!!!!!!
>
> I asked my hosting company where they were stored...on the server...I
> am so mad at myself...all that time wasted. Thanks for the help
> though...it was much appreciated!
>
> Paul
>
>
>>From: <daniel@electroteque.org>
>>To: <php-general@lists.php.net>
>>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
>>Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST)
>>
>>Are the hosts u looking at the same ? Like is it the very same link ?
>>Check on the XP box if you have cookies disabled, u can always check if
>>the session is being stored on the server too, look in /tmp first. Try
>>a print_r
>>($_COOKIE); aswell.
>>
>>
>> > Hi everyone,
>> >
>> > I'm trying to create a session with PHP. I'm using the following
>> > code:
>> >
>> > <?php
>> > session_start( );
>> >
>> > print( session_id( ) );
>> >
>> > print( '<HTML>');
>> > print( '<BODY>' );
>> > print( ' <a href =
>> >
>> > "http://www.mysite.com/shopping_cart/Test2.php">Here</a>'
>> > );
>> > print( '</BODY>' );
>> > print( '</HTML>' );
>> > ?>
>> >
>> > Now, I'm trying to view this site on a WinXP box. However, the
>> > cookies are not being saved onto my machine. I've viewed the site
>> > with Mozilla on a Linux box, and it works fine. What could be
>> > wrong? Any help would be greatly appreciated.
>> >
>> > I read somewhere that PHP had some issues with writing cookies to an
>> > NTFS box. Could that have anything to do with it?
>> >
>> > Thanks,
>> >
>> > Paul
>> >
>> > _________________________________________________________________
>> > FREE pop-up blocking with the new MSN Toolbar get it now!
>> > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/
>> >
>> > --
>> > 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
>>
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar get it now!
> http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php