View php session variables

后端 未结 7 1674
迷失自我
迷失自我 2020-12-28 13:29

Not sure if this belongs here or at webapps... please move if appropriate.

I don\'t even know if such a thing is possible, but is there an extension or add-on for ei

相关标签:
7条回答
  • 2020-12-28 14:23

    No. Session variables are stored on the server. The only thing that would be visible in Firefox is the ID of the session, stored in the session cookie (e.g. PHP_SESS_ID=randomgarbage).

    You'd have to explicitly write a script that would dump out the session variables, something as simple as:

    dumpsession.php:

    <pre>
    <?php
        var_dump($_SESSION);
    
    0 讨论(0)
提交回复
热议问题