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?

Seriously tho, if you really really really need to do this, and I can't think of a single good reason you would, you need to be looking at where PHP is storing the session data as it provides no way to access other users session data due to the aforementioned security-related reasoning.

-Stut

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to