Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Execute code after session expire

by roboticus (Chancellor)
on Apr 24, 2014 at 11:04 UTC ( #1083563=note: print w/replies, xml ) Need Help??


in reply to Re^2: Execute code after session expire
in thread Execute code after session expire

rjlt17@gmail.com:

OK, then when you create your text files, log them into a database along with their expiration date. Then have a cron job wake up every five minutes, and run a script to delete all files whose expiration date has passed.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: Execute code after session expire

Replies are listed 'Best First'.
Re^4: Execute code after session expire
by rjit17@gmail.com (Initiate) on Apr 28, 2014 at 08:59 UTC
    Hi,Roboticus, Thanks a lot for you suggestion. Can you give me one example of how I can store the log files in database.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1083563]
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 2022-08-08 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?