Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Problems getting session management to work: is_expired seems to lie to me

by ted.byers (Monk)
on May 06, 2013 at 21:58 UTC ( [id://1032406]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Problems getting session management to work: is_expired seems to lie to me
in thread Problems getting session management to work: is_expired seems to lie to me

Thanks

I may take a look at Dancer later, if time permits.

You call 30 lines of code long? I am used to real world applications that, taken together, involved as much as half a million lines of code. I guess that is a matter of perspective. In any event, the try/catch stuff can be easily deleted, but that leaves only an anchor to reinvoke the CGI script on the first access to it. Without some content on the page, you have no way to know, without accessing the server logs, whether or not the script worked. Further, the HTML generation is an essential part of using CGI to generate pages, and as I pointed out to the other fellow, I encountered problems with is_expired only in the context of the code actually running in a CGI script.

Thanks

Ted

  • Comment on Re^4: Problems getting session management to work: is_expired seems to lie to me

Replies are listed 'Best First'.
Re^5: Problems getting session management to work: is_expired seems to lie to me
by Corion (Patriarch) on May 07, 2013 at 05:04 UTC
    When looking for a problem, I call 30 lines long. You seem to enjoy searching for your problems in long code. I prefer to find my problems in short code, because usually after removing all unnecessary parts all that remains is the problematic code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1032406]
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: (4)
As of 2024-04-25 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found