CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Redirect with a cookie ?

 



imagnier
Deleted

Jan 22, 2001, 1:05 AM

Post #1 of 1 (242 views)
Redirect with a cookie ? Can't Post

Hi,

I've written a perl script that is called after a logon form : it logs the user on (=> a cookie is created), and then redirects him/her to the requested url, with the cookie.
The problem is that I get a 404 not found Error, although the url is ok. And if I come back on the site, I am properly logged on.

Any help will be much appreciated, thanks a lot !
Kind regards


$query = new CGI;
print $query->redirect(-cookie=>$cookie,"$url");

(NB : the URL $url is absolute)


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives