Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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!


Comment on Re: cookie check

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2014-07-28 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (196 votes), past polls