[PHPLIB] Bailing out of loginform.ihtml? From: Patrick _ (phplib <email protected>)
Date: 11/15/99

Hi all,

I have modified my loginform.ihtml with a link where the user can click on
if he wishes not to login and go back to wherever he came from.

Any ideas what code I should add and what to put in <a href ...</a> to send
the user back to where he came from and retain his session_id?

I already figured out that the following link throws the user nicely back to
the login screen :)
<A HREF="<?php echo $sess->url($ref_url); ?>">To return click here</A>

And this one throws you back from where you came but generates a new
session_id: <A HREF="<?php echo $HTTP_REFERER; ?>">return bla</A>

Regards,
-Patrick

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
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.