Re: [PHP] Sessions vs passing variables

2002-07-21 Thread Mike Mannakee
Right, I understand I should be able to access them. That's the whole problem. They're not there. I can do one of two things and they magically become available: 1. Don't start the session. 2. Use single variables, not arrays. #2, however, would create a problem in that I intend to set it up

RE: [PHP] Sessions vs passing variables

2002-07-21 Thread John Holmes
> I'm on a server with php version 4.2.1 with register globals on. The main > test has been can I access the variables in the script? Oddly enough, if > I > didn't use an array they are there for me. Turns out it's only when I'm > trying to pass an array. Single variables works fine. I'm begi

Re: [PHP] Sessions vs passing variables

2002-07-21 Thread Mike Mannakee
rsion of PHP are you using and is register_globals ON or OFF? > > ---John Holmes... > > > -Original Message- > > From: Mike Mannakee [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, July 21, 2002 10:57 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] Sessions

RE: [PHP] Sessions vs passing variables

2002-07-21 Thread John Holmes
IL PROTECTED] > Subject: Re: [PHP] Sessions vs passing variables > > No, > > The strange thing is there isn't. I have a test page that links to the > order form, having this html: > > > > > > > > > > > Order > > I've tried i

Re: [PHP] Sessions vs passing variables

2002-07-21 Thread Mike Mannakee
No, The strange thing is there isn't. I have a test page that links to the order form, having this html: Order I've tried it here as both a link and as hidden forms. Neither on works if I begin the script with: if(!(session_id())) session_start(); I've actually figured a bit of a

RE: [PHP] Sessions vs passing variables

2002-07-21 Thread John Holmes
> When I try to pass a variable from one page to another the variable is > completely inaccessible IF I have a session going. The data has to be > passed from one page to the next through the link, as the link tells which > product the user hit. Any thoughts? Is there a variable by the same nam

[PHP] Sessions vs passing variables

2002-07-21 Thread Mike Mannakee
When I try to pass a variable from one page to another the variable is completely inaccessible IF I have a session going. The data has to be passed from one page to the next through the link, as the link tells which product the user hit. Any thoughts? Mike Mannakee -- PHP General Mailing Li