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

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
Node Status?
node history
Node Type: note [id://11560]
[Eily]: you could have tried randomly swapping your fingers
[Eily]: enigma style
[choroba]: so it was you who typed the whole phrases?
[Yaerox]: I feel like i'm not seeing the forest for the trees. Can someone give me a hint how to research converting all kinds of files into ansi? If origin file is utf8 convert to ansi, is origin file is ansi then skip file.

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2017-03-28 13:07 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (331 votes). Check out past polls.