in reply to Re^3: mod_perl and multiuser global variables
in thread mod_perl and multiuser global variables

Probably that should be right. But then whats the way to override this problem??

And i just got a thought here, even after using CGI::Session, i will read the user id from the session stored and store it in a variable in that .cgi file. Anyways it becomes a global var. So how do i use it to maintain a persistent data.

thanks
  • Comment on Re^4: mod_perl and multiuser global variables

Replies are listed 'Best First'.
Re^5: mod_perl and multiuser global variables
by Moron (Curate) on Dec 05, 2005 at 16:56 UTC
    You need to manage the multi-user session info in a Storable. I couldn't find a CGI::Session::Driver::Storable, but it should be easy enough to write interface routines between CGI::Session::Driver and Storable. The latter has advisory locking routines which will be needed when updating the storable in the multi-session scenario.

    -M

    Free your mind