Posted on 2006-04-06 12:51:10-07 by lobster
how can I change the default session name?
i'm a newbie in perl... standart documentation doesn't describe such situation, so I haven't any idea why it doesn't work. pls, give me some information!
Direct Responses: 2110 | Write a response
Posted on 2006-04-06 13:55:48-07 by ceeshek in response to 2109
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

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.