wolf25 has asked for the wisdom of the Perl Monks concerning the following question:
#Get user ID and password ….. #Validate user…… #Of the user is validated { #create session #create the cookie $cookie = $query->cookie(CGISESSID => $session->id); #send the cookie to the browser print $query->header( -cookie=>$cookie ); #redirct the user to welcome page print $query -> redirect("http://localhost/cgi-bin/welcome.pl"); + }else{ get out
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cookie, redirect
by kwaping (Priest) on Jul 21, 2005 at 21:02 UTC | |
by Anonymous Monk on Jul 21, 2005 at 21:20 UTC | |
by kwaping (Priest) on Jul 21, 2005 at 21:32 UTC | |
by Anonymous Monk on Jul 21, 2005 at 22:26 UTC | |
|
Re: Cookie, redirect
by wolf25 (Initiate) on Jul 21, 2005 at 22:29 UTC | |
|
Re: Cookie, redirect
by wolf25 (Initiate) on Jul 21, 2005 at 23:09 UTC | |
by kwaping (Priest) on Jul 21, 2005 at 23:43 UTC | |
by wolf25 (Initiate) on Jul 22, 2005 at 11:45 UTC |