I am using IE6. I got someone with IE5.5 and my code works. So, I just went into IE6>Tools>Internet Options>Privacy>Web Sites>Edit and added my domain with Allow All and it works.
I thought that php would still add the SID automatically even if a user had cookies blocked. Any explanations, work arounds beside having users change their settings when migrating to IE6? Disabled in IE5.5 and before is definitely different than blocked in IE6. It probably makes sense for security. Maybe that was one of the holes MS fixed? TIA, Dale. -----Original Message----- From: Dale Heil [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] sessions Running winNT4.0sp6a, apache1.3.20, php4.1.1(as a module) I've been able to call a function from first .php page that sets a session variable (verified with an echo). I used $_SESSION['BreadCrumbCounter'] = 0; then from that page I call a second .php page via <a href="/eduEIS/Components/php/mainPage.php?sid=<?php echo $PHPSESSID?>"> I also tried <a href="/eduEIS/Components/php/mainPage.php?<?=SID?>"> In second page, the session variable comes back as not set. I used if (!isset($_SESSION['BreadCrumbCounter'])) {... I set session.auto_start to ON, set register globals to off. What I took that doc as saying is in 4.1.1, with auto_start on, I could use $_SESSION[] without the need to start a session and register session variables. What am I missing? I noticed the SID is missing when using that href. below are my php.ini settings. register_globals Off Off session.use_trans_sid 1 1 session Session Support enabled Directive Local Value Master Value session.auto_start On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies Off Off -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php