Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show all Session Variables? 1

Status
Not open for further replies.

lemkepf

Technical User
Oct 8, 2002
86
US
Hello all, i kinda need an answer pretty quick.

I have a very very dynamic page, and i need to be able to show ALL the session variables that have been created.
I know you can't just print them out with a for loop like you can with any other array. (yea, spent hours to figure that one out...)
So all you PHP gods out there any thoughts?
 
alls i get is thist:
Array ( )
here is the code i'm executing:
<?php
session_start();
print_r ($_SESSION);
?>
 
ok, fixed it! thanks. (there really werent any variables! :) )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top