Sessions and IIS -Issues with passing between 2 pages[FIXED]
Posted: Wed Mar 14, 2007 6:01 am
Hello,
I have been working on a relatively simple webpage which uses sessions to handle things like login. On my test server here on win 2k running wamp, and on my linux hosting online it runs fine. As soon as I upload to the clients win2003 hosting php 4.3.4 all sessions fail to persist across pages.
I originally looked at phpinfo to check session variables and discovered after a bit that the php temp directory was not writable, I believed changing this would have solved the problem but it did not.
I also tried passing the SID manually to see if this would work, but again with no success.
Having tried about everyway I can think of to set a session $_SESSION, session_register, but all to no avail.
About the only thing I have found that works was another website which had code for php3 session legacy stuff in it, this involves a long seris of manually setting all the session variables. I have tried this on my code but still with no success (I think it would take me a week to decipher whats going on in that file).
I have read some of the posts here on the same subject, but so far have already tried everything which worked for other people. The hosting guy is being about as much help as a wet towel too seeming to be convinced that the problem is linux specific code in phpmailer class.
So I guess my question is can anyone think of any obvious problems that I may have missed?
I have been working on a relatively simple webpage which uses sessions to handle things like login. On my test server here on win 2k running wamp, and on my linux hosting online it runs fine. As soon as I upload to the clients win2003 hosting php 4.3.4 all sessions fail to persist across pages.
I originally looked at phpinfo to check session variables and discovered after a bit that the php temp directory was not writable, I believed changing this would have solved the problem but it did not.
I also tried passing the SID manually to see if this would work, but again with no success.
Having tried about everyway I can think of to set a session $_SESSION, session_register, but all to no avail.
About the only thing I have found that works was another website which had code for php3 session legacy stuff in it, this involves a long seris of manually setting all the session variables. I have tried this on my code but still with no success (I think it would take me a week to decipher whats going on in that file).
I have read some of the posts here on the same subject, but so far have already tried everything which worked for other people. The hosting guy is being about as much help as a wet towel too seeming to be convinced that the problem is linux specific code in phpmailer class.
So I guess my question is can anyone think of any obvious problems that I may have missed?