[mod_python] Internal_redirect ?

Chris Hagner CHagner at fool.com
Tue Jul 31 09:13:26 EST 2001


If I remember correctly, Grisha stated that this feature has been highly
requested (and is do-able) but has not yet been implemented.

Chris

-----Original Message-----
From: Bo Lorentsen [mailto:bl at netgroup.dk]
Sent: Tuesday, July 31, 2001 4:19 AM
To: mod_python list
Subject: [mod_python] Internal_redirect ?


Hi ...

I have been working on a larger site setup where I like to force a
redirection to a internal login page if user is unknown (cookie thing).

The only way of redirection I can find is the one described in the
mod_python FAQ, but this often gives a small annoying page telling the
user about a redirection, but what I want is to do it seamless to the
browser.

Now in the Apache doc, I found some info. about a function calls
"internal_redirect", that does exactly what I like to do, but its not
part of the mod_python API, or I cant find it, at least :-)

Have anyone a good hint for me at this point ?

Also, is it correct that its not possible to set a cookie together with
a redirect ?

Hopeful regards

/BL

_______________________________________________
Mod_python mailing list
Mod_python at modpython.org
http://www.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list