Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Cookies on Apache vs cookies on IIS

by the_slycer (Chaplain)
on Mar 18, 2002 at 19:42 UTC ( #152574=note: print w/replies, xml ) Need Help??


in reply to Cookies on Apache vs cookies on IIS

Ok, still having problems here, even after correcting the typo in the code (-expire vs -expires)

Basically my cookie is still not being set when running on an IIS server. Still works fine (with the same code) on the Apache server.

Throwing a print $p->header() prior to the cookie being printed results in the following being printed to the browser:
Set-Cookie: =-name; domain=-value; path=mycookie; expires=-path;
So, as you can see, it's fairly munged, in addition to none of the values being there.

On apache, putting the same print $p->header() prior to the cookie print, results in an HTML formatted string with the data that I would be expecting in it.

My forehead is starting to get sore (from all the headbanging), and I would appreciate any additional input into the problem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2020-06-07 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (42 votes). Check out past polls.

    Notices?