Re: session_is_started()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Joolz wrote:
> I would like something like
> 
> if (!session_is_started()) { // note: this function doesn't
> exist
>   session_start();
> }

  Hi,

  this is not really a postgres-related question, but what the
heck. Use session_id to detect if a session is started or not.
See: http://hr2.php.net/manual/en/function.session-id.php for an
example (user-contributed, at the bottom of the page).



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux