Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: cookie value

by Corion (Patriarch)
on Apr 14, 2015 at 07:48 UTC ( [id://1123368]=note: print w/replies, xml ) Need Help??


in reply to cookie value

Have you read the CGI documentation? It demonstrates how to retrieve the value.

What do you get as result in $id and what did you expect?

Replies are listed 'Best First'.
Re^2: cookie value
by bigup401 (Pilgrim) on Apr 14, 2015 at 08:02 UTC

    this is just a simple, there is no problem with cookie. its working well. bt i want to expand. how do u call cookie value instead of cookie name in other page or how do u get cookie value

      The documentation on cookies is quite explicit:

      To retrieve a cookie, request it by name by calling cookie() method without the -value parameter.

      I'm not sure where you have problems. Maybe you can show us the code and tell us where you get results that do not correspond to your expectations?

      Again, what value do you get in $id and what value did you expect?

      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-18 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found