Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Unable to set cookies for specific domain

by bradcathey (Prior)
on Mar 23, 2009 at 16:24 UTC ( #752645=note: print w/ replies, xml ) Need Help??


in reply to Re: Unable to set cookies for specific domain
in thread Unable to set cookies for specific domain

Thanks ikegami, but setting the domain param to -domain => domainname.com replicated the failed result. I tried forcing -domain => www.domainname.com and it wouldn't even write the cookie. So, basically, no domain param seems to work, which strikes me as strange.

And unfortunately, the redirect will not work because I'm hosting multiples sites all using the same code with relative paths and HTML::Template.

That said, I tried a redirect in the HTML, but even that didn't work unless the URI was specifically domainname.com/admin/index.html, which also seems strange.


Update: See my resolution in the above OP

—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot


Comment on Re^2: Unable to set cookies for specific domain
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-11-26 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (162 votes), past polls