Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/110253-session-host-problam-please-help-cheers/
Share on other sites

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...........

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.