Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found