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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to