Re: problems with sessions!!AAH
| From: | Torsten Roehr | Date: | Mon, 16 Aug 2004 16:00:01 +0000 |
| Subject: | Re: problems with sessions!!AAH | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193955@lists.php.net to get a copy of this message | ||
"Angelo Zanetti" <binc2@ctech.ac.za> wrote in message
news:s120f15d.092@cal01.ctech.ac.za...
> ok I thought the problem was fixed but its not. The session variable
> gets registered correctly however when I go to the next page and too see
> if its still registered using the isset() function its not registered
> anymore. I do have session_start(); at the top of the new page.
>
> I cant think why its not working?!?!
Are you using cookies? What are your session configuration values?
Regards, Torsten
>
> TIA
>
> >>> "Jay Blanchard" <jay.blanchard@niicommunications.com> 8/16/2004
> 4:46:16 PM >>>
> [snip]
> Ok here is what I do:
>
> $_SESSION['login']="true";
>
> if (session_is_registered($_SESSION['login']))
> echo("seesion is reg");
> else
> echo("seesion not reg");
>
> I have not used the session_register function as the manual says the
> following:
> [/snip]
>
> Have you set session_start? http://www.php.net/session_start
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --------------------------------------------------------------------
> Disclaimer
> This e-mail transmission contains confidential information,
> which is the property of the sender.
> The information in this e-mail or attachments thereto is
> intended for the attention and use only of the addressee.
> Should you have received this e-mail in error, please delete
> and destroy it and any attachments thereto immediately.
> Under no circumstances will the Cape Technikon or the sender
> of this e-mail be liable to any party for any direct, indirect,
> special or other consequential damages for any use of this e-mail.
> For the detailed e-mail disclaimer please refer to
> http://www.ctech.ac.za/polic or call +27 (0)21 460 3911