Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: cookie check

by guice (Scribe)
on May 15, 2000 at 09:20 UTC ( [id://11560]=note: print w/replies, xml ) Need Help??


in reply to cookie check

Anonymous is correct. Perl is a server side app, and via the HTTP protocol there is no way for Perl to be able to check anything on the client's machine. It's even unable to check what browser you are running, the web server tells perl that.

The best that you can do is what btrott said. One way to do it is to set a cookie AND info in the links o the pages, and when a user clicks on a link, you can check to see if there is a cookie or not. If not, keep the user info in the query_string of the links, if so, you can remove the query_string stuff.
Some thoughts to play with....

-- philip
We put the 'K' in kwality!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-16 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found