Hello Brendan,

Do the sessions not work in general on your new server (simple php script etc.) or in a particular application that you are moving over?



On 21/01/11 16:01, Brendan Brink wrote:
hi there,

I am migrating a system from shared hosting to its own server and having issues with sessions saving between pages. I am guessing I need to alter the php.ini file, but not sure how to do this on the server. Running Plesk on the new server.

The current system phpinfo is as follows:


    session

Session Support         enabled
Registered save handlers        files user sqlite
Registered serializer handlers  php php_binary wddx


Directive       Local Value     Master Value
session.auto_start      Off     Off
session.bug_compat_42   Off     Off
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_httponly         Off     Off
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      1000    1000
session.gc_maxlifetime  1440    1440
session.gc_probability  1       1
session.hash_bits_per_character         5       5
session.hash_function   0       0
session.name <http://session.name>        PHPSESSID       PHPSESSID
session.referer_check   /no value/      /no value/
session.save_handler    user    files
session.save_path       /no value/      /no value/
session.serialize_handler       php     php
session.use_cookies     On      On
session.use_only_cookies        Off     Off
session.use_trans_sid   0       0




____

the phpinfo on the server is:


    session

Session Support         enabled
Registered save handlers        files user
Registered serializer handlers  php php_binary wddx


Directive       Local Value     Master Value
session.auto_start      Off     Off
session.bug_compat_42   Off     Off
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      1000    1000
session.gc_maxlifetime  1440    1440
session.gc_probability  1       1
session.hash_bits_per_character         5       5
session.hash_function   0       0
session.name <http://session.name>        PHPSESSID       PHPSESSID
session.referer_check   /no value/      /no value/
session.save_handler    files   files
session.save_path       /var/lib/php/session    /var/lib/php/session
session.serialize_handler       php     php
session.use_cookies     On      On
session.use_only_cookies        Off     Off
session.use_trans_sid   0       0

_____________

im guessing the issue has to do with the save_path setting or the save_handler.

If anyone could assist me with how to FIND and update the php.ini file.

Im using Dreamweaver.

Would be most appreciated as its quite urgent.

Thanks
Brendan.
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to