Re: Internals of Session files

From: Date: Thu, 18 Jan 2001 17:53:41 +0000
Subject: Re: Internals of Session files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35402@lists.php.net to get a copy of this message
On 18 Jan 2001 08:28:50 -0800, Eivind Trondsen <eivind@allycards.com> wrote: >Can someone shed any light on the internals of the session file >format? Is it documented somewhere? > >We are building a system to log user paths, and are thinking of >harvesting PHP session objects to accomplish this. Has someone done >the same? First, you probably want to have your code log to a database instead. The session files won't have the context information you want. Alternately, just turn on mod_usertrack in your Apache config and any decent log analysis program will be able to do that for you. However, if you do want to decipher those files, note the similarity between the contents of one and the output of serialize($HTTP_SESSION_VARS).

« previous php.general (#35402) next »