PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Well I have a Microsoft server which has PHP, and that is used by several people, but the thing is that the Variable SESSIONS DOES NOT WOORK any more, aaargh!! And they did, so I don't know what thing has been changed on the ini file.
Yeah, I am using the session_start(), but the problem is not the code, cause I verify it in another serevr and it works there, I believe its the configuration of the commands of the ini file, if I am not wrong that is the one when you get the phpinfo(), but I do not know if the variables are correct.
Session Support enabled
Registered save handlers files user
Directive --------------------- Local Value ------------ Master Value
session.auto_start ------------- On ----------------------- On
session.bug_compat_42 ---------- On ----------------------- On
session.bug_compat_warn -------- On ----------------------- On
session.cache_expire ---------- 180 ----------------------- 180
session.cache_limiter ---------- nocache ------------------- nocache
session.cookie_domain ---------- no value ------------------ no value
session.cookie_lifetime -------- 600 ----------------------- 600
session.cookie_path ------------ / ----------------------- /
session.cookie_secure ---------- Off ----------------------- Off
session.entropy_file ----------- no value ------------------ no value
session.entropy_length --------- 0 ------------------------- 0
session.gc_divisor ------------- 100 ----------------------- 100
session.gc_maxlifetime --------- 600 ----------------------- 600
session.gc_probability --------- 1 ----------------------- 1
session.name ------------------ PHPSESSID ----------------- PHPSESSID
session.referer_check ---------- no value ------------------ no value
session.save_handler ---------- files --------------------- files
session.save_path -------------- C:\PHP\sessiondata ------ C:\PHP\sessiondata
session.serialize_handler ------ php ----------------------- php
session.use_cookies ---------- On ----------------------- On
session.use_only_cookies ------- Off ----------------------- Off
session.use_trans_sid ---------- Off ----------------------- Off
Is the sessions directory writable to PHP? I had this issue when I changed something and I was using a windows box with PHP too... the temporary folder (custom location) wasn't writable to PHP.
By the way, in some IP's in a different segment it do works now, but in any other that does not belong to such segment it does not works, (this is real frustrating )