Jump to content

Changing Session Name


dfunk006
 Share

Recommended Posts

Hi,

I wanted to know if it is ok to change the session name in config.php from 'wire' to 'PHPSESSID'?

i.e, from:

$config->sessionName = 'wire';

to:

$config->sessionName = 'PHPSESSID'; 

Are there any repercussions of doing this?

Link to comment
Share on other sites

I'm pretty sure that wouldn't be an issue - that's why it's configurable :)

EDIT: Other than probably having to log back into the admin after you change it.

  • Like 1
Link to comment
Share on other sites

Great! Thanks Pete!  :lol:

Also, how safe is it to change session.save_path to Apache's default session.save_path by commenting out this line in index.php?

if(ini_get('session.save_handler') == 'files') ini_set("session.save_path", rtrim($config->paths->sessions, '/')); 

Your help is much appreciated!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...