|
Posted by Michael Windsor on 11/07/06 08:17
Pedro Graca wrote:
> Michael Windsor wrote:
> [...]
>> session
> [...]
>> Directive Local Value Master Value
> [...]
>> session.save_path no value no value
> [...]
>
> I believe `session.save_path` is your problem.
> If there's no value for it, PHP will use "/tmp". Do you have a "C:\tmp"
> directory on your disk?
>
> Try changing php.ini and specify an existing directory for the
> session.save_path entry, or create a "C:\tmp" directory.
>
> Or do it within a test script first:
>
....[snip]...
>
I looked at this previously - I was examining the session files to see
if I could determine the problem. Session information is being stored in
C:\WINDOWS\Temp already; presumably PHP is defaulting to the system temp
path in the absence of a defined value.
Anyway, I'm sorry to report that adding the session_save_path() call
doesn't make any difference to the running of the script: the value is
still only incremented when $_SESSION is not assigned to another variable.
Just to make sure, I changed php.ini to specify a session path, but
again, it didn't make any difference, with or without the
session_save_path() call.
Are you running PHP on Windows? I'm wondering if that's the deciding factor.
I really appreciate your help!
Thanks,
Mike
[Back to original message]
|