Hi, > > Q1: I want to give user a possibility to access his session data even > after browser change etc, so I could check username/password and send > him back cookie/url with his old session id. How can this be done in > Embperl? > At the moment I don't see a direct possibility. You could store the usename in the session data and iterate over all session to figure out the right one, but at the moment Apache::Session/SessionX doesn't have the possibility to iterate over all sessions. Also this would be nice to have. I plan to build to possibility into 1.3.4 to use the username as session id. Of course the username must be know to use session data in this case. > Q2: How can I reuse existing db connection? The Apache::DBI hint > doesn't work for me because I can't use Apache::DBI (need to connect to > different databases for different virtual hosts). Is there some > possibility to set say $HTML::Embperl::...::SessionDBH to my already > open dbh? or use some $req_rec->pnotes trick? > Apache::DBI handles multiple databases (also multiple usernames) correctly. So this should work with Apache::DBI If you want to have different DB's for session handling, then you have a problem. Embperl currently only supports one session setup for the whole server. You can use different EMBPERL_COOKIE_NAME settings, to make sure your different virtual host, doesn't share the same session. 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]
