Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: cookie check

by guice (Scribe)
on May 15, 2000 at 09:20 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-08-10 02:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found