[PHP] Sessions not working.

2004-01-28 Thread Jeff McKeon
Pulling my hair out here. I've got an IIS5 webserver running a php website just fine. I created another web for a dev version of the first website. Installed PHP ect... When I load up the old websites files on the new site sessions won't work on the new site. For some reason on the new site's p

RE: [PHP] Sessions not working.

2004-01-29 Thread Gryffyn, Trevor
--Original Message- > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 28, 2004 7:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Sessions not working. > > > Pulling my hair out here. > > I've got an IIS5 webserver running a php website j

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
uary 29, 2004 9:19 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions not working. Random thought.. Did you check your PHP.INI on the 'bad' server to make sure that it's configured the same as the 'good' server? Some things to check: Session.use_cookies = 1 Session.auto

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
9 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions not working. Random thought.. Did you check your PHP.INI on the 'bad' server to make sure that it's configured the same as the 'good' server? Some things to check: Session.use_cookies = 1 Session.auto_start = 0 // Th

Re: [PHP] Sessions not working.

2004-01-29 Thread Jas
004 9:19 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions not working. Random thought.. Did you check your PHP.INI on the 'bad' server to make sure that it's configured the same as the 'good' server? Some things to check: Session.use_cookies = 1 Session.auto_start = 0

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
the $_SESSION['user'] variable, but when you follow the link to session_test2.php, the contents of the $_SESSION['user'] are blank. What could be missing here in my server setup? Thanks, jeff -Original Message----- From: Jeff McKeon Sent: Thursday, January 29, 2004 11:49 A

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
: Thursday, January 29, 2004 2:48 PM To: Jeff McKeon; Gryffyn, Trevor; [EMAIL PROTECTED] Subject: RE: [PHP] Sessions not working. Ok, there seems to be some confusion about my setup so here it is again.. I have 1 physical server runing win2k server with IIS-5 I have 4 virtual web servers configure

Re: [PHP] Sessions not working.

2004-01-29 Thread Jas
ession_test.php and the $_SESSION['user'] variable, but when you follow the link to session_test2.php, the contents of the $_SESSION['user'] are blank. What could be missing here in my server setup? Thanks, jeff -Original Message- From: Jeff McKeon Sent: Thursday, January 2

Re: [PHP] Sessions not working.

2004-01-29 Thread John Nichel
Jeff McKeon wrote: Figured it out, I think. PHP doesn't like the underscore in my website name. http://site_dev.foo.com/ doesn't work but http://192.168.2.50/ does. If I rename the site in DNS to siteDEV.foo.com then it works fine. Any ideas why? The underscore (_) is not a valid character in

RE: [PHP] Sessions not working.

2004-01-29 Thread Chris W. Parker
Jas on Thursday, January 29, 2004 1:06 PM said: [snipped about 425 useless lines] > Well in that case do a dump_vars($_session[],$_session[]) for each > session variable you register and see if anything is listed. > Jas C'mon dude. Some of use are on dialup (not me

Re: [PHP] Sessions not working.

2004-01-29 Thread John Nichel
Chris W. Parker wrote: C'mon dude. Some of use are on dialup (not me now, but when I get home) and that email REALLY needed to be trimmed. Chris. I remember back in the day We used to do stuff like this. To the people who were usin

Re: [PHP] Sessions not working.

2004-01-29 Thread Jas
John Nichel wrote: Chris W. Parker wrote: C'mon dude. Some of use are on dialup (not me now, but when I get home) and that email REALLY needed to be trimmed. Chris. I remember back in the day We used to do stuff like this. To t

Re: [PHP] Sessions not working.

2004-01-29 Thread Daniel Clark
That's GREAT ! :-) > I remember back in the day > > > Sorry, couldn't resist. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions not working when page redirects

2004-08-10 Thread Angelo Zanetti
Hi all, Im having a slightly weird problem with my session variables. when on a certain page call it "A", I register a session variable and assign it a value. I then test if it is registered successfully and has the correct value on the same page, that works no problem. After that page "A" redire

[PHP] Sessions not working on Linux - Apache

2004-05-12 Thread Zac Hillier - Net Affectors
Running on apache 1.3 session.save_handler = files session.save_path = /tmp session.use_cookies = 1 session.name = i session.auto_start = 0 session.cookie_lifetime = 0 session_start() is included in the top of each page. When I test session files are being written into the /tmp folder and the se

Re: [PHP] sessions not working when page redirects

2004-08-10 Thread Jason Wong
On Tuesday 10 August 2004 19:50, Angelo Zanetti wrote: > Im having a slightly weird problem with my session variables. when on a > certain page call it "A", I register a session variable and assign it a > value. I then test if it is registered successfully and has the correct > value on the same p

AW: [PHP] sessions not working when page redirects

2004-08-10 Thread Ron Stiemer
st 2004 13:51 An: [EMAIL PROTECTED] Betreff: [PHP] sessions not working when page redirects Hi all, Im having a slightly weird problem with my session variables. when on a certain page call it "A", I register a session variable and assign it a value. I then test if it is registered succ

Re: [PHP] sessions not working when page redirects

2004-08-10 Thread John W. Holmes
From: "Angelo Zanetti" <[EMAIL PROTECTED]> > Im having a slightly weird problem with my session variables. when on a > certain page call it "A", I register a session variable and assign it a > value. I then test if it is registered successfully and has the correct > value on the same page, that wor

RE: [PHP] sessions not working when page redirects

2004-08-10 Thread Ford, Mike [LSS]
On 10 August 2004 13:19, Ron Stiemer wrote: > Hi there, > > Try to add the session_id(); into the redirection: > > header("Location: ../admin/include/B.php?PHPSESSID=" . session_id() ); No, no, no! Use the SID constant -- that's what it's for. It only has a value if you need one, so: hea

[PHP] Sessions NOT working - somebody please help me!

2004-08-28 Thread gregosh
Sorry for posting this problem again but it's been really driving me crazy. I've reinstalled Apache and PHP for the 5th time and the result is still the same - sessions work only when using click link. When using header("location: b.php"); the session information is lost and a new cookie is set in

Re: [PHP] Sessions not working on Linux - Apache

2004-05-12 Thread John Nichel
Zac Hillier - Net Affectors wrote: Running on apache 1.3 session.save_handler = files session.save_path = /tmp session.use_cookies = 1 session.name = i session.auto_start = 0 session.cookie_lifetime = 0 session_start() is included in the top of each page. When I test session files are being writt

Re: [PHP] Sessions not working on Linux - Apache

2004-05-12 Thread Zac
>> What version of PHP? How are you 'setting' session variables? Version 4.2.2 $_SESSION[test] = 'testData'; Cheers Zac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions not working on Linux - Apache

2004-05-12 Thread John Nichel
Zac wrote: Thanks for your response: PHP Version 4.2.2 $_SESSION[test] = 'testData'; Regards Zac Please respond to the list, and not to an individual user (unless asked of course). Try adding quotes around your key... $_SESSION['test'] = "testData"; -- John C. Nichel KegWorks.com 716.856.96

Re: [PHP] Sessions NOT working - somebody please help me!

2004-08-28 Thread Jason Wong
On Saturday 28 August 2004 18:52, gregosh wrote: > Sorry for posting this problem again but it's been really driving me crazy. > I've reinstalled Apache and PHP for the 5th time and the result is still > the same - sessions work only when using click link. > When using header("location: b.php"); th

Re: [PHP] Sessions NOT working - somebody please help me!

2004-08-28 Thread gregosh
U¿ytkownik "Jason Wong" <[EMAIL PROTECTED]> napisa³ w wiadomo¶ci news:[EMAIL PROTECTED] > On Saturday 28 August 2004 18:52, gregosh wrote: > > Sorry for posting this problem again but it's been really driving me crazy. > > I've reinstalled Apache and PHP for the 5th time and the result is still >

Re: [PHP] Sessions not working on Linux - Apache - FOllow Up

2004-05-12 Thread Zac
Have looked at this more and can now tell you that this is definatley down to the server not writing any contents into the sess_nnn file. Does anyone have any ideas why this would happen? I've checked all permissions and tried changing the save_path to another folder that I created specifically

[PHP] Sessions not working between documents (was: Sessions and switching between php and htm documents)

2002-02-27 Thread Dave
further to this... --enable-track-vars --enable-trans-sid are both set in the build... using mod_php register globals is on >-Original Message- >From: Dave [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, February 27, 2002 8:47 AM >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: RE: [P