Re: [PHPLIB] Bailing out of loginform.ihtml? From: Kristian Köhntopp (kk <email protected>)
Date: 11/15/99

Patrick _ wrote:
> <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>

Combine both approaches:

<?php global $HTTP_REFERER ?>
<A HREF="<?php echo $sess->url($HTTP_REFERER); ?>">To return click here</A>

-- 
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.netuse.de/ (We have moved! Update your bookmarks!)
-
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.