Re: [phplib] Newbie - Is it necessary to pass Session ID in URL? From: Barend Scholtus (regiment <email protected>)
Date: 10/10/00

exactly, sessions get lost if the browsers does not support cookies.
then you should use get mode as fallback mode (see local.inc and
session.inc).
all you urls should include the sessions id if youre in get mode - use
<a href="<?php $sess->purl("page.php3"); ?>">link</a>
instead of
<a href="page.php3">link</a>
and then the session id will we appended to the url automatically if
browser does not support cookies.

an even better idea is to upgrade to php4, compiled with --enable-trans-sid.
then session ids will be appended to urls if in get mode always
automatically - you cannot forget them anymore then and you dont need
$sess->url() :-)

brian

Op Mon, 9 Oct 2000, Philip Strnad schreef:

> Jeff,
>
> If your users don't have cookies enabled and you don't pass the ID in
> the URL then your setup won't work in that the session won't be
> maintained across pages.
>
> Philip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>