Re: Retrieve all SESSION variables.

From: Date: Fri, 25 May 2007 17:33:17 +0000
Subject: Re: Retrieve all SESSION variables.
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-27978@lists.php.net to get a copy of this message
Stut wrote:
Alf Stockton wrote:
Is there a method whereby one can retrieve all php SESSION variables on a Windows server. I have tried:- <?php
    session_start();
    foreach($_SESSION as $key => $val)
        {
        echo $key . " : " . $val . "<br>";
          }
?> but this appears to only return current user variables.
Shocking that. You think maybe there's some security-related reasoning behind that? Try sysadmin wants to know who is doing what.
-- Regards, Alf Stockton www.stockton.co.za O, it is excellent To have a giant's strength; but it is tyrannous To use it like a giant. -- Shakespeare, "Measure for Measure", II, 2 My email disclaimer is available at www.stockton.co.za/disclaimer.html

« previous php.windows (#27978) next »