March 3rd, 2004, 05:14 PM
Join Date: Feb 2004
Time spent in forums: 1 h 20 m 49 sec
Reputation Power: 10
A bit of a problem...
Originally Posted by netytan
If you can avoid sending any other MIME headers, Content-Type for instance all you have to do is print this...
print 'Location: http://www.python.org\n'
This will redirect the page to python.org using Python CGI
Thanks for your reply.
The situation is, that I have a login page that authenticates the user,
if the user is authenticated then :
1. An header with cookie ( sessionID ) is sent to the client
2. A redirect for a different page is required.
How can I achieve that ?