Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: session problem

by Corion (Patriarch)
on Nov 25, 2014 at 17:57 UTC ( [id://1108380]=note: print w/replies, xml ) Need Help??


in reply to Re^2: session problem
in thread session problem

So you've established that hello.pl and welcome.pl work as you think they should.

Have you done the same for myaccount.pl?

As myaccount.pl and welcome.pl seem to work differently, there must be some difference in what the scripts receive and/or in what they send back.

Have you tried copying the content of welcome.pl over myaccount.pl to see whether the difference is still there?

How do you pass the session id from (say) welcome.pl to myaccount.pl?

Replies are listed 'Best First'.
Re^4: session problem
by bigup401 (Pilgrim) on Nov 25, 2014 at 18:10 UTC
    yes home.pl and welcome.pl works they is no difference on scripts bitween home.pl and myaccount.pl i copied content of welcome to myaccount.pl, bt myaccount.pl was not working i think the problem is here print "Location: welcome.pl?sid=$id\n\n"; it may be that am sending the session and generate the session sid to only welcome.pl where by myaccount.pl cant retrieve sid

      So maybe now is a good time to post three self-contained, runnable programs so we can try to reproduce your problem?

      Also, are you clear on the concept of session data, and how it will be passed around between your scripts? What mechanism are you using for passing the session id from welcome.pl to myaccount.pl?

      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-29 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found