
March 3rd, 2004, 05:14 PM
|
|
Contributing User
|
|
Join Date: Feb 2004
Posts: 71
 
Time spent in forums: 1 h 20 m 49 sec
Reputation Power: 10
|
|
|
A bit of a problem...
Quote: | 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...
Code:
#!/usr/bin/env python
print 'Location: http://www.python.org\n'
This will redirect the page to python.org using Python CGI  .
Mark. |
Hi Mark.
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 ?
Cheers
Roy
|