Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Problems with session expiration (there is no session)

by Anonymous Monk
on Jan 02, 2014 at 02:24 UTC ( #1068884=note: print w/ replies, xml ) Need Help??


in reply to Problems with session expiration

I'm trying to build a login-system based on CGI::Session.

Any particular reason to make your own from scratch like that?

a session seems to get deleted after about 10 seconds or so automatically... too mucn code none of it runnable

Sorry but that code doesn't run, and nothing looks like it would cause the symptoms you describe, so my best suggestion is spend a few hours with Re: CGI::Session "cache" issue, ie with cgi::session not showing same session id which it was set and firefox doesn't show at all, Re: reg access of stored session variable (and the links they link)


Comment on Re: Problems with session expiration (there is no session)
Re^2: Problems with session expiration (there is no session)
by Anonymous Monk on Jan 02, 2014 at 15:14 UTC
    Any particular reason to make your own from scratch like that?

    Nope, but I wasn't able to find completely finished systems on Google. Or better said I found exactly one that was way over the top and I had to pay for it.

    If you know where I can find a complete system I'm willing to use it. :) How do you come to the conclusion that this code doesn't run?
    I have it running here: http://www.digioso.org/consystem/login.pl
    Test-Account:
    Login: test
    PW: test123


    But yes, I'm gonna have to read and find out more if I want it to run.
      That last post was from me. :)

        .. find on google ...

        see catalyst, dancer, mojo, titanium, cgi::application to build your own system using existing wheels

        How do you come to the conclusion that this code doesn't run?

        I tried to run it, it wouldn't run :) It may run on your system, it doesn't run on mine, or anyone elses. The code as posted isn't self contained, if I download it, I can't run it to figure out all the problems.

        From just reading the code and running it in my mind there is nothing obvious ... other than a stab in the dark (like this guy says, and like the links I linked talk about), that the cookies aren't being sent or accepted -- no cookie means no session

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-12-28 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls