Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: CGI::Session small problem...

by moritz (Cardinal)
on Feb 24, 2013 at 13:12 UTC ( #1020397=note: print w/replies, xml ) Need Help??

in reply to CGI::Session small problem...

You have to include the session cookie in the HTTP header you generate. See CGI::Session::Tutorial for some ways to do that. It surprises me that it works at all without it.

Replies are listed 'Best First'.
Re^2: CGI::Session small problem...
by pedrete (Novice) on Feb 24, 2013 at 14:40 UTC

    Thanks MOtirz

    I think the cookie gets to the user browser when i use the line
    print $sesion->header(-location=>"");

    And in fact i have checked and the cookie in the browser is ok... ans so in the server /tmp folder...



      You should monitor the HTTP requests with a browser extension such as LiveHTTPHeaders or just capture the network traffic with Ethereal. Paste the whole conversation from the first request (login.html) to the one hitting; we could perhaps figure out what's wrong. (Use a dummy username + password.)

        no, don't bother with this, waste of time

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020397]
[AnomalousMonk]: choroba: It even has Rama's (relatively) high rate of spin, although I don't know if it's axial spin.
[LanX]: Rama spins?
LanX probably in my stomach
erix considers showing this to choroba , thinks better of it

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-11-22 16:59 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.