marm Posted June 26, 2007 Share Posted June 26, 2007 Hello, I'm trying to change the name of my sessions but I cannot insert a dot (period) in the name: I tried escaping the period and these two different ways but it doesn't work: session_name("PERL\.SESSION"); inside php.ini : session.name = PERL\.SESSION Link to comment https://forums.phpfreaks.com/topic/57242-sessionname/ Share on other sites More sharing options...
gerkintrigg Posted June 26, 2007 Share Posted June 26, 2007 why? Link to comment https://forums.phpfreaks.com/topic/57242-sessionname/#findComment-282931 Share on other sites More sharing options...
obsidian Posted June 26, 2007 Share Posted June 26, 2007 Read the comments in the manual for the session_name() function. The first one references the documentation. Only alphanumeric characters can be used in a session name. Link to comment https://forums.phpfreaks.com/topic/57242-sessionname/#findComment-282939 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.