PHP Sessions - Cookies Not Saving
| From: | Paul Higgins | Date: | Fri, 05 Mar 2004 02:53:00 +0000 |
| Subject: | PHP Sessions - Cookies Not Saving | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179519@lists.php.net to get a copy of this message | ||
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/