When I do:  print_r($_COOKIE); I get the following:
Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 )

Does that mean its setting the Cookie? I can't see the cookie on my computer. I don't have cookies disabled because I'm getting cookies from other sites. The privacy setting is set to Medium.

Thanks,

Paul


From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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



Reply via email to