roberlamerma has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks! Does anyone have an idea about how to generate a custom session ID for Apache::Session? (actually I use Apache::Session::File) The only workaround I found is to rewrite the MD5 id generation, I mean, modify the module, which I don't want to do. Thanks!

Replies are listed 'Best First'.
Re: Apache Session own ID
by waswas-fng (Curate) on Dec 10, 2003 at 01:02 UTC
    Take a look at Apache::Session::Flex it allows you to specify the ID generator (or even specify one that you have created).


    -Waswas
      Hi. I have tried Apache::Session::Flex before, but the thing is that I already have the id I want, I dont want to create a new one. As far as I know, Apache::Session::Flex just lets to specify which module should be used for id generation.
        I do not get your question then cause you asked Hi monks! Does anyone have an idea about how to generate a custom session ID for Apache::Session? That lead me to believe that you wanted to generate a new ID, your way, instead of md5. What is your question then.


        -Waswas
Re: Apache Session own ID
by perrin (Chancellor) on Dec 10, 2003 at 17:33 UTC