Date: 11/04/99
- Next message: bpeck <email protected>: "[PHPLIB] rewrite?"
- Previous message: Kristian Koehntopp: "Re: [PHPLIB] Fatal error: DB_Sql is already a function..."
- In reply to: Alan Lee: "[PHPLIB] Session Id changes in Get mode"
- Next in thread: Kristian Köhntopp: "Re: [PHPLIB] Session Id changes in Get mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 4 Nov 1999, Alan Lee wrote:
>Everything is fine with cookies enabled.
>But with cookies disabled and in fallback 'get' mode, I go to the login
>screen
>and see a session id appended to my URL.
>
>When I complete the login screen and the page reloads and displays the
>proper content, it has the same session id appended to the URL.
>
>but then if I click any link on this page, the session id appended to
>the URL changes and all subsequent pages give me another login screen.
>Anyone know why?
>
>My session.inc has this:
> var $magic = "malcolmX";
> var $mode = "cookie";
> var $fallback_mode = "get";
> var $allowcache = "no";
You're probably using something like
<?php print("<a href=\"url.php3\">link</a>"); ?>
and you should use $sess->purl("url.php3") function which will
recognize the $mode and append the session id to the end of
the url.php if needed.
It's in the manual.
--
v
Davor Cengija
davor <email protected>
===================================
"Please allow 30 days for delivery"
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: bpeck <email protected>: "[PHPLIB] rewrite?"
- Previous message: Kristian Koehntopp: "Re: [PHPLIB] Fatal error: DB_Sql is already a function..."
- In reply to: Alan Lee: "[PHPLIB] Session Id changes in Get mode"
- Next in thread: Kristian Köhntopp: "Re: [PHPLIB] Session Id changes in Get mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

