PHP question: Is there a way to read all $_SESSION variables in a loop?

Houyhnhnm

New member
My program collects several $_SESSION variables. I would like to output them all at the end, in the order they were set. I would like to avoid writing a line of code for every variable, so I was hoping there was some function that could return the next variable in a loop.

I'm not very good at PHP, so simple solution is preferred to elegant, and I'm not worried about speed.

Thanks,
Houyhnhnm
 
Back
Top