[dev] Re: [cvs] commit: turba/templates/display display.inc

Jan Schneider jan@horde.org
Mon, 24 Jun 2002 00:19:18 +0200


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@ammma.de>:
> 
> >   Log:
> >   HTTP_REFERER isn't always available.
> 
> When? And if there are situations where it isn't, why did you completely 

If your browser doesn't send the referrer header.

> rip this out, leaving the user somewhere probably nonsensical after 
> deleting a contact, rather than checking for it and using it if it's
> there?

Because it produced an error if it isn't available and didn't have the time
to pass this value by an url parameter from all pages that link to this
file. That would be the correct way to handle it.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft