Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Another cookie question..

by growlf (Pilgrim)
on Apr 23, 2002 at 03:18 UTC ( [id://161204]=note: print w/replies, xml ) Need Help??


in reply to Another cookie question..

Though at first glance this is not strictly a 'Perl' question, you might want to look at Apache-Htpasswd-1.5.3 and Apache-AuthCookie-3.00 for some better tools. Also, are you not using the CGI module? It has built in cookie support that works well with most all browsers (as long as the browsers have cookies turned ON to begin with)

I tend to lean towards (re)using code more than roling my own. Call it ambitious laziness, but it also gets the job done faster, and frequently better.

*G*

Replies are listed 'Best First'.
Re: Re: Another cookie question..
by Anonymous Monk on Apr 23, 2002 at 05:53 UTC
    Yep I'm using standard CGI module. Using its built in cookie support. Maybe I should opt for a system that uses ip instead of cookies to track sessions? Tah
      No way, never do anything like that (i mean, tracking users by IP)! You cannot track users by IP because there can be several users from a same IP (proxy-firewall) or a single user using a different IP for every request (when he got multiple proxies he can use in a round-robin fashion)
      Cookie is the right way to go. I'm pretty sure you don't call your CGI function correctly, so your code produces messed up cookie string. Some code from your program would help to help you.

      $|=$_='1g2i1u1l2i4e2n0k',map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found