Fw: [Snort-users] how to clean php session files in /tmp

Michael Scheidell scheidell at ...3799...
Wed Oct 17 12:53:14 EDT 2001


----- Original Message -----
From: "Michael Scheidell" <scheidell at ...3799...>
To: <snort-users at lists.sourceforge.net>
Sent: Wednesday, October 17, 2001 3:42 PM
Subject: RE: [Snort-users] how to clean php session files in /tmp


> From: Kevin Brown <Kevin.M.Brown at ...1022...>
> Subject: RE: [Snort-users] how to clean php session files in /tmp
> To: 'Michael Scheidell' <scheidell at ...3799...>,
> snort-users at lists.sourceforge.net
>
> >You need to set a session timeout value.  After that time goes by the
> >session should automatically go away.
>
> Only see these three that even remotely look like they might have
something
> to do with it.
>
> setting cache_expire to 5 to see what happens

noop, still there:
edited php.ini
apachectl stop
apachectl start
open up browser to acid main page
close browser
after closing broser waited 5 mins still there.

sleep 300
scanner# ls -l
total 36
-rw-------  1 nobody  wheel  36783 Oct 17 15:42
sess_61deaf441fa7240c3cc7a23847b06e4d
scanner# ls -l
total 36
-rw-------  1 nobody  wheel  36783 Oct 17 15:42
sess_61deaf441fa7240c3cc7a23847b06e4d
scanner# date
Wed Oct 17 15:51:37 EDT 2001


>
> ; After this number of seconds, stored data will be seen as 'garbage' and
> ; cleaned up by the garbage collection process.
> session.gc_maxlifetime = 1440
>
> and
> ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
> session.cookie_lifetime = 0
>
> and
> ; Document expires after n minutes.
> session.cache_expire = 180
>
> --
> Michael Scheidell
> Florida Datamation, Inc.
>





More information about the Snort-users mailing list