RE: [PHP] Session Initially Does Work

2002-05-02 Thread Adam Douglas
> There is a session problem with 4.1 > > If register_globals is ON, then use session_register(). > > If it's off, then use $_SESSION["name"] = "value"; and the value will > automatically be registered. What kind of session problem? I currently have register_globals set to on. I am already usin

RE: [PHP] Session Initially Does Work

2002-05-01 Thread John Holmes
ailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 1:15 PM > To: PHP-General (mailing list) (E-mail) > Subject: [PHP] Session Initially Does Work > > Hi. I've run into a problem with my PHP session. I'm running PHP > 4.1.0 on OpenBSD v3.0 using .HTACCESS an

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Craig Vincent
> Alright that's good to hear. In a specific case that I'm having > this problem > the main PHP file is including file (content) that refers to > $_SESSION[nSID_PeopleID] in main. This value is vital in > rendering the page. > So it should be there right? Also about removing session_name(), how ca

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
> That's correct, although the cookie will remain resident it > requires an > inital page change/refresh. However after looking at your > code I'm not > convinced that is the problem since the first page of a > session creation > should still be usable with the session as the session ID is >

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Craig Vincent
> Well the cookie is set at the start of the PHP file that gets referenced > each time. I'm not setting any manual cookies just using the > default session > cookie set by PHP. Below is all the code I use for the session. Formatting > is kind of goofed up in e-mail but it's there. So even though t

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
> > something else after the initial page everything works fine. I > > require this > > to work initially because if someone comes in directly using a > > link certain > > content will render a error message because the registered > variable is not > > present for some reason. Oh and yes the cook

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
PM > To: PHP-General (mailing list) (E-mail) > Subject: [PHP] Session Initially Does Work > > > Hi. I've run into a problem with my PHP session. I'm running PHP > 4.1.0 on OpenBSD v3.0 using .HTACCESS and mod_mysql. I have a > PHP file that > is referenced e

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Craig Vincent
> something else after the initial page everything works fine. I > require this > to work initially because if someone comes in directly using a > link certain > content will render a error message because the registered variable is not > present for some reason. Oh and yes the cookie to set the s

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Jay Blanchard
Add At the top of each page, before anything else is done. Jay -Original Message- From: Adam Douglas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 3:15 PM To: PHP-General (mailing list) (E-mail) Subject: [PHP] Session Initially Does Work Hi. I've run i

[PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
Hi. I've run into a problem with my PHP session. I'm running PHP 4.1.0 on OpenBSD v3.0 using .HTACCESS and mod_mysql. I have a PHP file that is referenced every time content is requested on the web site (this file also sets/restores the session). This PHP file includes [include()] the requ