Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Losing my Cookie

by ggvaidya (Pilgrim)
on Oct 18, 2008 at 04:05 UTC ( [id://717897]=note: print w/replies, xml ) Need Help??

in reply to Losing my Cookie

I'm a big fan of going to the source on matters like this :-).

A really nice way of debugging cookie-related problems is by looking at your browser's "Page information" or "Site information" dialog box (in Opera, it's called "Edit Site Preferences", and is in the menu you get if you right click on a page). This dialog box will show you a list of all the cookies your browser has, including when they expire, the path and domain they apply to, and all kinds of other information. You could check to see if there is any reason that cookie might not apply or be sent to the HTML page from there.

Also: How do you get the session id to the browser? Do you use $session->header() or CGI::header or CGI::Cookie in your code anywhere? If you do, the actual cookie settings you use there might also be helpful in debugging your problem.

Replies are listed 'Best First'.
Re^2: Losing my Cookie
by juster (Friar) on Oct 18, 2008 at 06:49 UTC
    Another handy tool is the Live HTTP Headers Firefox Extension. This shows the HTTP headers as they are sent and received.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-05-30 10:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found