I'm using virtual hosts with Apache v2.0.52 and PHP v4.3.9 and using sessions to
enforce user authentication and access to each page.

Everything works quite fine for every browser, except IE and only in the second
virtual hosts.

I've used phpinfo() to confirm that the virtual host configuration is correctly being passed to the browser (ie correct ServerName, DocumentRoot, ServerPort etc etc).

I've added some further code to try an establish what the problem is. The first time a user is authenticated, all the session variables are correctly set and
registered.  On subsequent pages, even though a session_start() call is
used, none of the previously registered variables are available, which
subsequently causes a failure to authenticate.

The failure only happens with IE and only with the second virtual host.

I've also tried turning on register_global within php.ini (yes I know this is a security issue),
and this still does not solve the problem.

Any ideas/suggestions? I'm rather puzzled as to what the specific cause of the problem is.

And no the answer is not to change browsers, as over 80% of the clients have IE.

Thanks,

Malcolm

Reply via email to