Re: A stupid question?
| From: | Richard Lynch | Date: | Fri, 18 Jan 2008 22:17:41 +0000 |
| Subject: | Re: A stupid question? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267598@lists.php.net to get a copy of this message | ||
if (session_id()){
//no session yet
}
else{
//we have lift-off!
}
On Thu, January 17, 2008 8:54 pm, Shelley Shyan wrote:
> Hi all,
>
> Maybe this is a somehow stupid question.
>
> I want to know how php could know whether session_start() has been
> called, that is, whether session has been started.
>
> I Googled, but got little help.
>
> Thank you for help!
> Any tip is greatly appreciated.
>
> Regards,
> Shelley
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?