redarrow Posted June 15, 2008 Share Posted June 15, 2008 Advance thank you........ Can you kindly tell me what the below session info from my current host all means.... According to my host i need to create some sort off folder to save my sessions to get the session_start() to work... my code's depends on sessions as i am in the middle off a large project but i dont understand what to do to get sessions activated keep my sessions... my problam is that my sessions keep going, and there not kept, you need to refresh the browser to see a session example a echo'ed session name.. what does the below php.ini mean, Do i need to set a folder or a code/script tell me please thank you..... current session settings from host.... session Session Support enabled Registered save handlers files user Directive Local Value Master Value session.auto_start Off Off 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 0 0 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 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid Off Off Quote Link to comment https://forums.phpfreaks.com/topic/110253-session-host-problam-please-help-cheers/ Share on other sites More sharing options...
redarrow Posted June 15, 2008 Author Share Posted June 15, 2008 i do read a lot on session but i am a bit confused... does this info from the host mean that i need to create a folder as tmp and it will save the sessions.... please help cheers Registered save handlers files user << i think the user me needs to use a .txt file to get session to it. session.save_handler files files <<<< files/folders need to be created via the current user... session.save_path /tmp /tmp <<i think if need sessions create a tmp folder if so what goes in it.... i am guessing above but please tell me........... Quote Link to comment https://forums.phpfreaks.com/topic/110253-session-host-problam-please-help-cheers/#findComment-565710 Share on other sites More sharing options...
hansford Posted June 15, 2008 Share Posted June 15, 2008 you can google each one of these and they will tell you what each is for and how to set them up. Quote Link to comment https://forums.phpfreaks.com/topic/110253-session-host-problam-please-help-cheers/#findComment-565744 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.