Re: Retrieve all SESSION variables.
| From: | Stut | Date: | Fri, 25 May 2007 19:44:42 +0000 |
| Subject: | Re: Retrieve all SESSION variables. | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27979@lists.php.net to get a copy of this message | ||
Alf Stockton wrote:
Stut wrote:Tell "sysadmin" to consider what he actually wants to know and whether there is a better way to get that information. Reading the raw sessions rarely gives you information you couldn't get from server logs or a little added logging in the app. -StutAlf Stockton wrote:Try sysadmin wants to know who is doing what.Is there a method whereby one can retrieve all php SESSION variables on a Windows server. I have tried:- <?phpShocking that. You think maybe there's some security-related reasoning behind that?session_start(); foreach($_SESSION as $key => $val) { echo $key . " : " . $val . "<br>"; }?> but this appears to only return current user variables.