[cgiapp] Understanding sessions

2008-02-24 Thread Brad Cathey
Hello, Though I'm been using CGI::App for a few years, this will sound like a newbie thread, but bear with me--your help will be greatly appreciated. I'm still trying to understand queries, sessions and cookies. First, I have read the CAP::Session docs several times and my understanding is: (and

Re: [cgiapp] Understanding sessions

2008-02-24 Thread Mark Fuller
> 1. how can those unnecessary sessions be deleted? If you're on a unix system you can use the "find" command with the "-mtime" option to find files in a directory older than a certain time (-name to limit it to a certain pattern of filename). If you're not on unix you could write a simple Perl s

Re: [cgiapp] Understanding sessions

2008-02-24 Thread Brad Cathey
Mark, That was a big help. Mainly knowing that the cleaning up of these /tmp files outside the realm of anything in my initial application. It does make sense. I'll work on a cron job to eliminate the dead wood every so often. On Sun, Feb 24, 2008 at 10:24 AM, Mark Fuller <[EMAIL PROTECTED]> wrot

Re: [cgiapp] Understanding sessions

2008-02-24 Thread Ron Savage
Hi Mark On Sun, 2008-02-24 at 09:24 -0700, Mark Fuller wrote: > > 1. how can those unnecessary sessions be deleted? > > If you're on a unix system you can use the "find" command with the > "-mtime" option to find files in a directory older than a certain time > (-name to limit it to a certain pa

Re: [cgiapp] Understanding sessions

2008-02-24 Thread Ron Savage
Hi Brad A brief and hence partial reply. > I'm still trying to understand queries, sessions and cookies. No problem. > First, I have read the CAP::Session docs several times and my > understanding is: (and correct me here): > > 1) C::A does not naturally create a session unless there is an > e