You probably want to get 4.2, or 4.2.1 if it's out. How are you registering variables for the session? Is register_globals on or off in your php.ini.
If it's off, you register a variables just by using $_SESSION["var"] = "value"; instead of using session_register("var"); $var = "value"; If register globals is on, then use the second method with session_register(). This is all after you call session_start, of course. ---John Holmes... ----- Original Message ----- From: "Edward Marczak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 12:04 PM Subject: [PHP] Using Sessions under Win98/Apache > I've been developing a PHP driven site that will ultimately run under > Solaris and Linux - no problems there. > > But I set up a small development/test environment on my laptop running > Win98. Downloaded the PHP binary (v 4.1.2) along with Apache (v 1.3.24) and > MySQL. Everything works great....almost. > > Sessions aren't working for some reason. Yes, they're enabled in my php.ini > file (and running a php_info() confirms that session support is enabled). > The odd thing is, is that it will create the 'sess_038d7....' file. Just no > data goes into it. > > Yes, I'm running the exact same code against it that I'm running against the > Solaris and Linux PHP. > > Is there something different about the Windows version that I don't know > that is causing my sessions to not work? > > Thanks! > -- > Ed Marczak > [EMAIL PROTECTED] > > > -- > 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