[SPAM - FORGED HEADERS >> ] - Re: [Catalyst] which module helps
	to store session in tables usingcatalyst And Apache - Email
	found in subject
    Andreas Marienborg 
    omega at palle.net
       
    Fri Feb 10 09:19:07 CET 2006
    
    
  
On 10. feb. 2006, at 07.29, Raphael Kraus wrote:
>> Thanks Chisel Wright ...........
>>
>>  i saw  the  module  /Catalyst-Plugin-Session-Store-DBI/
>>
>>
>> in that module expires  some time   ...................
>>
>> wht i want is the session should be there untill browser  closed
>
> Sorry Chveerendra, unless you're using some Ajax magic, the server has
> no way of telling when a browser is closed. (You'll have to search and
> find documentation on Ajax, as it's not something I current am
> proficient in.)
the fact is that if you dont set an expiration on a cookie, it will  
expire on browser closing.
If you use State::Cookie, this can be achieved by setting  
cookie_expires to 0.
the session itself wont be gone from the store though, but the cookie  
will be gone.
Then you can use Catalyst::Plugin::Scheduler (http:// 
cpansearch.perl.org/~agrundma/Catalyst-Plugin-Scheduler-0.05/lib/ 
Catalyst/Plugin/Scheduler.pm) to perform cleanup every once in a while.
andreas
    
    
More information about the Catalyst
mailing list