Re: sessions bug

From: Date: Sat, 22 Jul 2000 17:09:56 +0000
Subject: Re: sessions bug
Groups: php.general 
Request: Send a blank email to php-general+get-7701@lists.php.net to get a copy of this message
>Here is a simple example that shows the problem. I think the reason >others aren't having a problem is because they're using forms. > >It doesn't work regardless of whether or not you have cookies on. > >In bbb.php it doesn't matter if I call session_start() or >session_register() or both. If I don't call either then there's no >session_id. > >It's interesting to change the browser's cookie setting to prompt and >watch what happens, both when you go to the next page as well as when >you just reload either page. > >If someone else could try these two files and verify my results I'd >be grateful. > >Thanks. I tried it, and it seems to work correctly. On the first page I get: Session id is 1e78db2e4f4be68146ac161a6ddb2242 Continue On the second page I get: Your login is abc Session id is 1e78db2e4f4be68146ac161a6ddb2242 When I set the browser to prompt for cookies, I only get prompted once, the first time page aaa.php loads. I'm using IE4 sp1 128bit on the client and RedHat 6.1, Apache 1.3.12, PHP 4.0.1pl2 on the server. Hope this helps, Joe

« previous php.general (#7701) next »