url rewriting within sessions - confused newbie needs help
| From: | Peter Walter | Date: | Thu, 11 Dec 2003 06:16:08 +0000 |
| Subject: | url rewriting within sessions - confused newbie needs help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172441@lists.php.net to get a copy of this message | ||
From the book "Core PHP programming", 3ed ;
"As stated earlier, PHP sends session identifiers with cookies, but a browser may refuse them. PHP can detect when a browser does not accept cookies, and in this situation it modifies all forms and links to include the session identifier."
My php pages all include start_session() before any content is sent to the browser, and my browser is configured to accept cookies. Nevertheless, any coded relative url links (<a href=...) are all modified to include PHPSESSID=12345, although the cookie *should* be set. I am using PHP 4.x. Why is this happening?
Peter