Re: session_is_started()

From: Tin <canobi(at)email(dot)hinet(dot)hr>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: session_is_started()
Date: 2004-04-09 05:35:43
Message-ID: c55cne$2oud$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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).

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Joolz 2004-04-09 13:47:52 Re: session_is_started()
Previous Message Ivan Sergio Borgonovo 2004-04-08 15:23:41 functions aka stored procedures results and PHP