> > I have a CGI forum that uses cookies to authenticate user. > Now I wish to add some embperl pages that authenticate with %udat. > I wish to change the CGI forum authentication method to embperl %udat like > auth. method. > > How can I create, read, modify embperl session data from my CGI scripts? > What is the best way to do it? >
Embperl uses Apache::SessionX for storage (HTML::Embperl::Session before 1.3.4, but there is only a small difference). You can use this module in your CGI scripts too, to access the session data. You need to pass the same setup parameters to Apache::SessionX and the session id. You can take a look at Embperl.pm. Session initialization takes place around line 380 and the setup for each request in SetupSession function. Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
