CGI redirection: let us discuss it further

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Mon Mar 27 13:22:11 EST 2006


Sullivan WxPyQtKinter enlightened us with:
> 1. Are there any method (in python of course) to redirect to a web
> page without causing a "Back" button trap(ie, when user click the
> back button on their web browser, they are redirect to their current
> page, while their hope is probably to go back to the last page they
> have seen, rather than the redirection page with a "Location: url"
> head and blank content.)?

I don't know if this is possible using CGI. I use CherryPy, and it has
an InternalRedirect method. Same is true for mod_python and Apache.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list