Re: PHP session URL rewriting

From: Date: Mon, 06 Oct 2003 03:17:39 +0000
Subject: Re: PHP session URL rewriting
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-165123@lists.php.net to get a copy of this message
* Thus wrote Justin French (justin@indent.com.au): > I'm running PHP 4.3.2 on Mac OS X 10.2.8, with .html files parsed by > PHP (specified with a local .htaccess file), and everything seems to be > working fine here (.html URLs are re-written by PHP). > > My advice would be to delete all your cookies, clear your cache, > restart your browser with cookies disabled, and THEN do some testing :) also... PHP will not put a session id at the end of any absolute uri/url: href="http://somedomain.com/" href="/" Will not have the session automatically added (for security purposes). If you want a sessionid at the end of those you must explictly tell php that you want it there: href="/<?php echo SID?>" Curt -- List Stats: http://zirzow.dyndns.org/html/mlists/php_general/ "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#165123) next »