in reply to Re: Re: Writing web pages in Perl with sessions
in thread Writing web pages in Perl with sessions

So, Apache::Session is perhaps the way to go - I shall look at that.

However, I am still wondering, is there a way to use memory? Surely this would provide quicker storage/access? I seem to remember a particular web-based e-mail client (IMP perhaps?...) using shared memory as a session store...

fx

  • Comment on Re: Writing web pages in Perl with sessions

Replies are listed 'Best First'.
Re: Re: Writing web pages in Perl with sessions
by ducky (Scribe) on Sep 13, 2001 at 02:05 UTC

    Hmmm memory only, huh... you might want to look into IPC::Shareable and build a perl data server separate from the web server. You need a separate data server because when the web server gets a cgi request it forks perl - when perl's done with the request it completely exits.

    The perldoc for IPC::Shareable has an example of a data server, too. =)

    -Ducky