Re: [Cgi-session-user] Are CGI::Session session files removed automatically?
Brought to you by:
sherzodr
From: Ron S. <ro...@sa...> - 2006-05-29 06:29:50
|
On Sun, 28 May 2006 21:47:54 -0600, Justin Simoni wrote: Hi Justin > CGI::Session->find( \&purge ); To get CGI::Session to look in the correct directory, perhaps replace the above line with: require CGI::Session; my $session = new CGI::Session(undef, undef, {Directory=>'/ home/myaccount/sessions'}); $session -> find(\&purge); > Which is CGI::Session trying to remove files that aren't owned by > whatever is executing my app. Usually, when I run CGI::Session, I Perhaps you get permissions errors because: o The sessions were created by a CGI app run by the web server and hence owned by the owner of the web server process o The sessions are being deleted by you, and you're not the owner of the web server process -- Ron Savage ro...@sa... http://savage.net.au/index.html |