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

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

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


in reply to Re^3: Problems with session expiration (there is no session)
in thread Problems with session expiration

.. 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


Comment on Re^4: Problems with session expiration (there is no session)
Re^5: Problems with session expiration (there is no session)
by Digioso (Novice) on Jan 05, 2014 at 21:58 UTC
    What did you search in Google to get those results?
    It wasn't "Perl CGI Login System" or "Perl CGI Session" or something like that. At least I didn't get any of these as results.

    And I must admit that those frameworks do not look really like Plug & Play.

    Thank your anyway. I managed to fix my code, though. :)

      What did you search in Google to get those results?

      Nothing, I searched on CPAN, MetaCPAN, for "session" and "web" and "framework", and then I remembered these from the many questions about these modules on the many websites I read

      And I must admit that those frameworks do not look really like Plug & Play.

      I admit, a hair drying fan they're not, but they are plug and play in the computer sense :)

        Hehe, OK. :)
        I think I'll stick with what I have since it's working now.
        I basically already have kind of my own framework with all the self-written modules there so it'll probably be a lot of work to to make it work with one of the others.
        And it might be better for learning purposes as well to write this from scratch than using one of the frameworks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-07-11 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (220 votes), past polls