Re: PHP session URL rewriting

From: Date: Mon, 06 Oct 2003 01:53:53 +0000
Subject: Re: PHP session URL rewriting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165118@lists.php.net to get a copy of this message
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 :) If it's still not working for your set-up, I guess you need to find out if the re-write code was changed between your version and mine, or perhaps something else? Justin On Monday, October 6, 2003, at 11:26 AM, Scott Teresi wrote:
I'm having trouble getting PHP's built-in session management to rewrite my <a href=""> tags to include the session ID across pages when cookies are disabled. Unfortunately, PHP seems to only add the PHPSESSID to a link if the page ends in ".php", not ".html". I've preferred to hide my ".php" extensions and simply have Apache execute all files ending in ".html" (traffic isn't too heavy on this site). How can I force PHP to pass the session ID to all URLs, even ones that don't end in ".php"? Thanks for any help or references anyone can provide! Scott Teresi -- scott74@digispire.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- [This E-mail scanned for viruses]


« previous php.general (#165118) next »