Hi, Saturday, March 15, 2003, 7:31:52 AM, you wrote: MR> We are looking for a way to set several key/value pairs (which will differ MR> across users) such that they will persist during the user's session and MR> be logged in the weblogs for every request that user makes. Some MR> potential ways of doing this that occurred to us:
MR> - implement functionality to programmatically append these parameters to MR> the querystring of all urls displayed across our site (far too cumbersome, MR> we don't consider this a viable option) MR> - find a way for PHP to automatically tack the parameters onto the ends MR> of url querystrings, the same way it can do with PHPSESSIONID (we haven't MR> found, in our initial research, a way to do this) MR> Our primary goal is to get these parameters logged in the weblogs, without MR> having to programmatically/physically modify every link on our site. For MR> example, if we wanted to track parameters called x and y, the link on the MR> page would just point to: MR> /index.php MR> but the weblog would show something like the following hit: MR> /index.php?x=foo&y=bar MR> The parameter values would need to get set once at the beginning of a user's MR> session, and then would not change over the course of that session (but MR> they'd need to get tracked with every request they made). We're planning to MR> implement persistent sessions across our servers as well. MR> ==================================== MR> Maureen Roihl MR> Senior Web Developer MR> Smarter Living MR> [EMAIL PROTECTED] You could use something like this <?php apache_note('PHP_TITLE','Home Page')?> Then the log formatter line needs \"%{PHP_TITLE}n\" adding -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php