pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tin <canobi@email.hinet.hr>
To: pgsql-php@postgresql.org
Subject: Re: session_is_started()
Date: Fri, 09 Apr 2004 07:35:43 +0200
Message-ID: <c55cne$2oud$1@news.hub.org> (raw)
References: <20040408134031.GA13236@localhost.localdomain>

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




view thread (5+ messages)  latest in thread

Message-ID: <c55cne$2oud$1@news.hub.org>
Permalink:  ../c55cne$2oud$1@news.hub.org/
Also on:    postgresql.org/message-id/c55cne$2oud$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: canobi@email.hinet.hr
  Subject: Re: session_is_started()
  In-Reply-To: <c55cne$2oud$1@news.hub.org>
  References: <20040408134031.GA13236@localhost.localdomain> <c55cne$2oud$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox