[PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi,

We have added some new features to a SiteShield protected website which makes 
it neccessary to use sessions. Although creating the session and the 
appropriate variables is a server side process there seem to be problems with 
IE (tested with version 6 on Win2000 Pro and WinXP Pro).

If I access the site with IE I will see the following error message at the 
bottom of the page:

Warning: Failed to write session data (files). Please verify that the current 
setting of session.save_path is correct (/home/globstag/tmp) in Unknown on 
line 0

However if I access the site with any other browser writing the session data 
works.

But this isn't all yet. I can't replicate the problem on any other machine I 
have access to. On all other machines I have access to the site works fine.

First I thought that it might have been a problem with the PHP version because 
the server runs on PHP 4.0.6 and my notebook runs on PHP 4.2.1. Upgrading the 
server to 4.2.1 unfortunately didn't solve the problem.

I have then deployed the site to my private dedicated server which runs PHP 
4.0.6 on SuSE 7.2. Even on that machine I can't replicate the error.

The main difference between the other servers and the server in NewYork is 
that only the server in NewYork is protected with SiteShield. Which leads me 
to the conclusion that there might be a problem related to the combination of 
SiteShield, IE and PHP.

If you have any ideas feel free to share your thoughts with me.


Cheers, Andreas

-- 
Andreas Otto [EMAIL PROTECTED]
Using PHP on Windows? www.php4win.de



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




Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Ernest E Vogelsinger
At 14:24 22.11.2002, Andreas Otto spoke out and said:
[snip]
We have added some new features to a SiteShield protected website which makes 
it neccessary to use sessions. Although creating the session and the 
appropriate variables is a server side process there seem to be problems with 
IE (tested with version 6 on Win2000 Pro and WinXP Pro).

If I access the site with IE I will see the following error message at the 
bottom of the page:

Warning: Failed to write session data (files). Please verify that the current 
setting of session.save_path is correct (/home/globstag/tmp) in Unknown on 
line 0

However if I access the site with any other browser writing the session data 
works.
[snip] 

Hi,

I don't see how this behaviour could be related to a browser version - all
browsers behave (should behave?) identically when requesting a page... they
simply issue a MIME request, like
GET /?PHPSESSIONID=aasdasdasdasdasdasd HTTP/1.0
Host: www.yourhost.com

The message you see looks disturbing to me - is the session.save_path value
actually set to /home/globstag/tmp? Does Apache (or else) have all
necessary rights to this directory?

_MAYBE_ you're using some mod_rewrite rules on the target server, depending
on the user agent, so IE's would end up in a defunct installation?

I'd check for this inn the first place.


-- 
   O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
^ http://www.vogelsinger.at/



Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi Ernest,

On Friday 22 November 2002 15:05, Ernest E Vogelsinger wrote:
 The message you see looks disturbing to me - is the session.save_path value
 actually set to /home/globstag/tmp? Does Apache (or else) have all
 necessary rights to this directory?

 _MAYBE_ you're using some mod_rewrite rules on the target server, depending
 on the user agent, so IE's would end up in a defunct installation?

 I'd check for this inn the first place.

Well, guess what I did before writing this eMail ;-)

At the end of my original eMail I said:
On Friday 22 November 2002 14:24, Andreas Otto wrote:
 The main difference between the other servers and the server in NewYork is
 that only the server in NewYork is protected with SiteShield. Which leads
 me to the conclusion that there might be a problem related to the
 combination of SiteShield, IE and PHP.

So what we have is a set of web servers to which access is controlled by a 
(proxy) server. The software that is used to manage access rights is called 
SiteShield and is developed by a company called Tempest.

Every request to the server I experience this strange problem at has to pass 
the SiteShield server.

The question is now: Has anyone heard about or had problems with the 
combination of PHP SiteShield and InternetExplorer?


Cheers,
Andreas 

-- 
Andreas Otto [EMAIL PROTECTED]
Using PHP on Windows? www.php4win.de


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




Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Ernest E Vogelsinger
At 15:35 22.11.2002, Andreas Otto spoke out and said:
[snip]
Well, guess what I did before writing this eMail ;-)

That's what I have feared...

Every request to the server I experience this strange problem at has to pass 
the SiteShield server.

Is it possible to have SiteShield log what its doing?

The question is now: Has anyone heard about or had problems with the 
combination of PHP SiteShield and InternetExplorer?

I don't know anything about SiteShield - can anyone else chime in please?
I'd also try to holler at the guys at Tempest...


-- 
   O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
^ http://www.vogelsinger.at/



Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi Ernest,

On Friday 22 November 2002 16:11, Ernest E Vogelsinger wrote:
 Is it possible to have SiteShield log what its doing?

 The question is now: Has anyone heard about or had problems with the
 combination of PHP SiteShield and InternetExplorer?

 I don't know anything about SiteShield - can anyone else chime in please?
 I'd also try to holler at the guys at Tempest...

I have been trying that, but it looks like I have to run the query through our 
office in NewYork where the servers are hosted. My colleagues in NewYork will 
have the right support details.


Cheers,
Andreas

-- 
Andreas Otto [EMAIL PROTECTED]
Using PHP on Windows? www.php4win.de


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