CGI-Application-Plugin-Session - Re: how can I change the default session name?

Posted on Thu Apr 6 16:55:48 2006 by ceeshek in response to 2109 (See the whole thread of 2)
Re: how can I change the default session name?

CGI::Session only allows you to change the name of the session globally.

CGI::Session->name('MyCustomSesionID');

CGI::Application::Plugin::Session will automatically notice the change in session name and start using the new one. So just run the above command sometime before you create or access the session.

Cheers,

Cees

Write a response