Re: problems with sessions!!AAH

From: Date: Mon, 16 Aug 2004 16:25:38 +0000
Subject: Re: problems with sessions!!AAH
Groups: php.general 
Request: Send a blank email to php-general+get-193958@lists.php.net to get a copy of this message
no I'm not using cookies. Session configuration values from php.ini: session.save_handler = files session.save_path = c:\temp\sessions session.use_cookies = 0 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 100 session.gc_maxlifetime = 1440 session.bug_compat_42 = 1 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 is there anything else that I am missing or is anything set incorrectly? thanks guys, really appreciate it. >>> "Torsten Roehr" <roehr@zilleon.com> 8/16/2004 6:00:01 PM >>> "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 -- 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

« previous php.general (#193958) next »