Date: 02/04/00
- Next message: Alan Meadows: "RE: [PHPLIB] Users have to login several times"
- Previous message: Kristian Köhntopp: "Re: [PHPLIB] What does this mean really?"
- In reply to: Joe Cheong: "[PHPLIB] About $sess->purl($url)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 4 Feb 2000, Joe Cheong wrote:
>Hi all,
>
> Could anyone explain what is the difference between the usage of:
>
> <a href=<? $sess->purl($url) ?>>Link</a>
>
>and
>
> <a href=<? print $url ?>>Link</a>
If you use this type you will loose $session_id if in GET mode
>
> Also, is there any difference with
>
> $sess->padd_query(array("again"=>"yes))
>
> with just appending ?again=yes at the end of the url ?
If you're in GET mode, and you have e.g. link.php?id=123 then
you'll have link.php?id=123?again=yes, so your ID would get
scrambled.
If you're definitelly sure you will not use GET mode (not even
as the fallback mode), then you don't have to use $sess
functions.
--
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: Alan Meadows: "RE: [PHPLIB] Users have to login several times"
- Previous message: Kristian Köhntopp: "Re: [PHPLIB] What does this mean really?"
- In reply to: Joe Cheong: "[PHPLIB] About $sess->purl($url)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

