Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: cookies

by OM_Zen (Scribe)
on Mar 05, 2003 at 05:38 UTC ( #240537=note: print w/ replies, xml ) Need Help??


in reply to Trouble with cookies being used for validation (was: cookies)

Hi ,

The form element , it is supposed to be a get or post( I guess you should post) Also have the condition enforded with a && than the , to enforce the logical condition
if($cookie eq $user && $cookie1 eq $pass){ print<<HTML HTML }else{ error_page(); }


This can be tried instead of  if ($cookie1 eq $user , $cookie2 eq $pass) ,just on the wake I wanted to say these suggestions

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-06-25 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.