Results 1 to 4 of 4
These are the relevant entries in my php.ini - at least I think...
Code:
session.save_handler = files
session.save_path = /var/tmp/php4
However, when I look in "/var/tmp/php4" it is empty, so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-06-2007 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 43
Saving PHP4 Sessions
These are the relevant entries in my php.ini - at least I think...
However, when I look in "/var/tmp/php4" it is empty, so somehow the session cache isn't being used. The permissions are Debian's default permissions, 732, but I also tried 777, with the same results. What am I missing?Code:session.save_handler = files session.save_path = /var/tmp/php4
- 03-06-2007 #2
if it's code you made yourself, i assume you have called the session_start() function. This will put a file in the session path, and if it is the same session will connect to that session for use in that page.
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 03-06-2007 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 43
It is PostNuke, so perhaps PostNuke isn't coded to use sessions as files? If that is the case, I am not going to worry about it...
- 03-07-2007 #4
Just had a look on my laptop, and that doesn't seem to be creating any session files either using postnuke. I'd say from that that postnuke doesn't create sessions as i can login fine, and no session files appear in /tmp where the session files do usually appear. I'd say as long as it works fine, dont worry about it!
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327


Reply With Quote
