Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group