Anyone know why session variables would work on the default host of an Apache 1.3.24/Php4.1.2/Linux setup but not on name based virtual hosts on the same system.

The code examples in the php manual work in the default website but not in the virtual hosted websites on the same system.

I have my own code working on older php4 installations on various systems and even one working with PHP4.1.2 but with an older apache version.

I would appreciate any help or suggestions as I have tried everything from messing with the php sessions settings and trackvars, registerglobals etc, apache httpd.conf file virtual host settings, directory settings (allowoverride etc), recompiles of both php and apache with various settings and I cannot seem to get it fixed.

Appreciated

Lance

Lance(a)metaldog.co.za

    Write a Reply...