Re: [PHP] Session cookie issue...

2003-10-17 Thread Marek Kilimajer
Jake McHenry wrote:
John W. Holmes wrote:
I
think just upgrading PHP and still using Apache2 will fix this bug,
though, and it should still work (it'll be dependent upon what
extensions you use and whether they are supported with Apache2).


Extensions.. As in file name extensions? 
No, John means php modules. Run phpinfo() to see what modules are installed.

Everything so far I have
converted over from 1.3 has worked fine in apache2... The ONLY
difference that I can see visually is that they added a global this
is a test page and more customized error messages. All of my file
extensions work the same, and virtual hosts, access files, etc.
This is why I thought it was something I did wrong setting up the
sessions... Which no one ever answered that question...   Can I still
use my javascript cookie scripting, or should I just use the session?
Or both?
Depends on what you want to do.

Thanks,

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
In my original script, I had the main document using cookies. Now that
I'm setting up session, when I retrieve the cookie and put it in the
browser in my original script, I get NTCookie appended to the data
stored in the original cookie. NTCookie is what I have the name of the
session cookie set to in php.ini.

How can I fix this?

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Session cookie issue...

2003-10-16 Thread John W. Holmes
Jake McHenry wrote:
In my original script, I had the main document using cookies. Now that
I'm setting up session, when I retrieve the cookie and put it in the
browser in my original script, I get NTCookie appended to the data
stored in the original cookie. NTCookie is what I have the name of the
session cookie set to in php.ini.
How can I fix this?
What version of PHP are you using? Are you using Apache2?

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
John W. Holmes wrote:
 Jake McHenry wrote:
 In my original script, I had the main document using cookies. Now
 that I'm setting up session, when I retrieve the cookie and put it
 in the browser in my original script, I get NTCookie appended to
the
 data stored in the original cookie. NTCookie is what I have the
name
 of the session cookie set to in php.ini.
 
 How can I fix this?
 
 What version of PHP are you using? Are you using Apache2?

Php 4.2.2 and yes, apache 2

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Session cookie issue...

2003-10-16 Thread John W. Holmes
Jake McHenry wrote:

Php 4.2.2 and yes, apache 2
You know that's not recommended, right? PHP is not stable with Apache2 
yet. Either way, there is a bug with a specific version of PHP and 
Apache2 that messes up request variables like you are talking about. If 
you upgrade to the latest or a newer version of PHP, I think this will 
go away.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
John W. Holmes wrote:
 Jake McHenry wrote:
 
 Php 4.2.2 and yes, apache 2
 
 You know that's not recommended, right? PHP is not stable
 with Apache2
 yet. Either way, there is a bug with a specific version of PHP and
 Apache2 that messes up request variables like you are talking about.
 If you upgrade to the latest or a newer version of PHP, I think
 this will
 go away.

I transferred my sites over from a windows box to Redhat 9, which
comes default with apache2 and php... I havn't had any problems as of
yet. I didn't know if this was a problem because I was using two
cookies, one from javascript on the site, and one with sessions... But
since you say that.. I guess it's not my scripts..

Thanks,

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
Jake McHenry wrote:
 John W. Holmes wrote:
 Jake McHenry wrote:
 
 Php 4.2.2 and yes, apache 2
 
 You know that's not recommended, right? PHP is not stable with
 Apache2 yet. Either way, there is a bug with a specific version of
 PHP and Apache2 that messes up request variables like you are
 talking about. If you upgrade to the latest or a newer version of
 PHP, I think this will go away.
 
 I transferred my sites over from a windows box to Redhat 9,
 which comes default with apache2 and php... I havn't had any
 problems as of yet. I didn't know if this was a problem
 because I was using two cookies, one from javascript on the
 site, and one with sessions... But since you say that.. I guess it's
 not my scripts.. 
 
 Thanks,
 
 Jake McHenry
 Nittany Travel MIS Coordinator
 http://www.nittanytravel.com

What should I be using then.. Apache 1.3? And will this fix the
problem... Or is it in the version of php  I have?

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Session cookie issue...

2003-10-16 Thread John W. Holmes
Jake McHenry wrote:

What should I be using then.. Apache 1.3? And will this fix the
problem... Or is it in the version of php  I have?
Well, yes, you _should_ be using 1.3 and the latest version of PHP. I 
think just upgrading PHP and still using Apache2 will fix this bug, 
though, and it should still work (it'll be dependent upon what 
extensions you use and whether they are supported with Apache2).

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
John W. Holmes wrote:
 Jake McHenry wrote:
 
 What should I be using then.. Apache 1.3? And will this fix the
 problem... Or is it in the version of php  I have?
 
 Well, yes, you _should_ be using 1.3 and the latest version of PHP.
I
 think just upgrading PHP and still using Apache2 will fix this bug,
 though, and it should still work (it'll be dependent upon what
 extensions you use and whether they are supported with Apache2).

Extensions.. As in file name extensions? Everything so far I have
converted over from 1.3 has worked fine in apache2... The ONLY
difference that I can see visually is that they added a global this
is a test page and more customized error messages. All of my file
extensions work the same, and virtual hosts, access files, etc.

This is why I thought it was something I did wrong setting up the
sessions... Which no one ever answered that question...   Can I still
use my javascript cookie scripting, or should I just use the session?
Or both?

Thanks,

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php