Page 1 of 1

Help Help Help Pleeease!!

Posted: Tue Jul 26, 2005 5:12 pm
by farid
Hi y'all!!

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.

I really hope someone can help me!!

Thanks in advance!! :oops: :oops:

Posted: Tue Jul 26, 2005 5:27 pm
by hawleyjr
Show us some code please. Are you using session_start()?

Posted: Tue Jul 26, 2005 5:39 pm
by farid
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.

If you want to I'll send you how is my phpinfo.

Posted: Tue Jul 26, 2005 5:43 pm
by hawleyjr
Do you have the following in you phpinfo()?

Code: Select all

session
Session Support 	enabled

Posted: Tue Jul 26, 2005 5:50 pm
by farid
Yeah, the following are the variables in phpinfo

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

Posted: Tue Jul 26, 2005 7:04 pm
by Chris Corbyn
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.

Posted: Wed Jul 27, 2005 9:31 am
by farid
In what php directory do you refer?? :cry:

Posted: Wed Jul 27, 2005 9:32 am
by farid
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 :oops: :cry: )