Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: A question regarding cookies

by gellyfish (Monsignor)
on Sep 22, 2006 at 18:45 UTC ( #574424=note: print w/replies, xml ) Need Help??


in reply to Re: A question regarding cookies
in thread A question regarding cookies

You appear to be expecting the param('html_template'); to return an object but it is returning the literal string 'html_template' which is why you are getting the error that you are. The other problem with your code is that you are printing a header with the cookie straightaway whereas you actually need to be adding the the cookies to the headers you output before your main output. I really don't want to see the rest of your code, but you will need to add the cookie to a header elsewhere in your code,

/J\

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://574424]
help
Chatterbox?
[LanX]: as long as he has votes left, the nodelet remains
[LanX]: There is a very simple solution ...
[marinersk]: Correct, so one workaround is to leave one vote.
[marinersk]: But I was looking for a more elegant solution. It appears noone online at this time is aware of one.
[LanX]: go to Nodelet Settings and click "All nodelets off"
[LanX]: SUPER STABLE!!!
[marinersk]: LanX++ LOL Yes, that is another workaround. :-)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-05-29 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?