[Zope] Opaque Redirect
Paul Winkler
pw_lists@slinkp.com
Wed, 28 Aug 2002 13:32:41 -0700
On Wed, Aug 28, 2002 at 04:28:32PM -0400, Jim Kutter wrote:
> Is there a way, without using urllib and it's brethren to redirect a user to another url without changing the URL line in their browser? (I know it sounds malicious, but the URL is ugly). Ideally I'd like to do "return url" in a python script, but I know that's not going to happen ;)
Sure it is! Something like:
zobject = context.restrictedTraverse(url)
return zobject()
Won't work if the URL is offsite, of course.
--
Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"