[pmwiki-users] $_SESSION[] in ?action=diag
Thomas -Balu- Walter
list+pmwiki-users at b-a-l-u.de
Mon Jul 11 03:23:10 CDT 2005
On Fri, Jul 08, 2005 at 05:38:12PM -0500, Patrick R. Michaud wrote:
> Yes; for some reason PHP complains with a warning if session_start
> is called twice. (Personally, I wish it would just be a no-op if
> the session has already started. And I also wish there was a way
> to know if a session has already started, but PHP doesn't seem to
> tell us that either.)
AFAIK $_SESSION equals (as in ===) NULL if the session was not started
yet.
If it was started it is an (empty) array.
Balu
More information about the pmwiki-users
mailing list