Re: [Cgi-session-user] Are CGI::Session session files removedautomatically?
Brought to you by:
sherzodr
From: Sherzod R. <she...@ha...> - 2006-05-31 15:21:24
|
I understand find() would be more convenient as an object method. But calling new() to create an object also has a side effect, which is, it creates a session file, which should be suppressed somehow. But find() as a class method has the following syntax: find( \&code ) find( $dsn, \&code ) find( $dsn, \&code, \%dsn_args, \%coderef_args ) Sherzod > -----Original Message----- > From: cgi...@li... > [mailto:cgi...@li...] On > Behalf Of Mark Stosberg > Sent: Monday, May 29, 2006 10:03 PM > To: Sherzod Ruzmetov > Cc: 'Ron Savage'; 'List - CGI-Session' > Subject: Re: [Cgi-session-user] Are CGI::Session session > files removedautomatically? > > > On Mon, May 29, 2006 at 03:52:57AM -0400, Sherzod Ruzmetov wrote: > > Ron, > > > > I never meant find() to be used as an object method, but as > a class method, > > as in CGI::Session->find(). But looking at your code, I think we can > > re-write find() to work for both cases. > > As a class method, It's not clear how you'd communicate > driver options, > like where the tmp dir is located. > > Mark > > > _______________________________________________ > Cgi-session-user mailing list > Cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgi-session-user > > |