session.use_trans_sid
| From: | Jon Hill | Date: | Fri, 12 Nov 2004 17:44:39 +0000 |
| Subject: | session.use_trans_sid | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-201851@lists.php.net to get a copy of this message | ||
Hello
I have a site that has session.use_trans_sid = 1.
It seems that the first time I visit a page when I open up my browser, URLs
are getting rewritten even though a cookie IS being set. If I refresh or move
on to another page, the problem goes away, i.e. no more session ids appended
to URLs.
I don't want to turn off trans_sid for this site because I want people to able
to use it without cookies being set.
For example
<?php
session_start();
?>
<html>
<head>
<body>
<a href="index.php">link</a>
</body>
</html>
The first time I request the page, a cookie gets set, AND the URL gets
rewritten. After that, no more URL rewrites.
Can anyone point to where I might be going wrong, or this just an odd
behaviour of session.use_trans_sid = 1
Cyril