> How can you get something like:
>
> header ("Location: $PHP_SELF?");
>
> to redirect with the sessid in the url? In my tests, it redirects, but
> does not append the sessid.
>
> I have compiled with --enable-trans-sid. Transparent sid is working, I
> can use it on links like:
>
> <A HREF="<?php echo "$PHP_SELF?"; ?>">
>
> and it works. I have put this on the links on my page, so that the
> session will be kept even if the user has cookies disabled. But if the
> user (who has cookies disabled) clicks on the browser back button, they
> go back to the first page and start a new session.
>
> Is there a way to redirect this first page back to itself quickly, with
> the sessid in the url, so that even a user with cookies disabled will
> not lose the session if they use the browser back or reload buttons?

*maybe* you can use header("Location: $PHP_SELF?$PHP_SESSID"); (or whatever
variable is holding the session id...

But you might just be testing with a broken browser that is doing caching in
a bad/weird way...

Test with some other browsers before you get too carried away, and be sure
you know what's happening.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to