tags:

views:

205

answers:

2

Hello,

Wondering how I can change the php session id from PHPSESSID to something else so that it does not interfere with other PHP scripts running on the same domain. Is this possible?

Thank you for your time

A: 
session_name('mySessionName');
session_start();

Try looking at PHP's reference.

The Wicked Flea
+2  A: 

See this link for PHP runtime configuration. The variable you are looking for is session.name. You can also alter this programmatically by calling session_name before any call to session_start or session_register.

PatrikAkerstrand