[Zope] How to get name of calling DTML or script..

Geir Bækholt Geir Bækholt
Thu, 11 Jul 2002 10:11:49 +0200


Hello Jason, 

Wednesday, July 10, 2002, 11:02:24 PM, you wrote:

JB> x = request.HTTP_REFERER
JB> so, RESPONSE.redirect(request.HTTP_REFERER)
JB> will reload the page that called the script...

..most of the time..

HTTP_REFERER is an *optional* HTTP-HEADER that most clients/browsers
send with the request , but they are not required to do so. I know
that at least in Opera there is an option to turn it off for those
concerned with privacy..

- Just so that no one relies on it for important stuff...





-- 
Geir Bækholt                       web-developer
geirh@funcom.com             funcom oslo | webdev-team