Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-12-10 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.