Re: cgi and sessions

2001-12-19 Thread Gerald Richter
Hi! > > When using Apache::Session > PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:test UserName=root > Password=" > > worked ok. > > When I use Apache::SessionX it uses only the values that I entered when > doing Makefile.PL. > > How to modify those default values? > EMBPERL_SESSION_ARGS

Re: cgi and sessions

2001-12-18 Thread Jaak
Hi! When using Apache::Session PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:test UserName=root Password=" worked ok. When I use Apache::SessionX it uses only the values that I entered when doing Makefile.PL. How to modify those default values? Thanks for your help. ---

Re: cgi and sessions

2001-12-18 Thread Gerald Richter
Hi! > > > Now I have reached to another problem: > I create session in CGI program > >... > > How can I call that same session out in EmbPerl mode ($udat{username})? > You need to set the cookie with the session id in your cgi script . Look at the function SetSessionCookie in Embperl.pm for an e

Re: cgi and sessions

2001-12-18 Thread Jaak
Hi! > 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. Thank

Re: cgi and sessions

2001-12-17 Thread Gerald Richter
> > 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 scrip

cgi and sessions

2001-12-16 Thread Jaak
Hi! 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