Re: Problems with session handling

2003-03-25 Thread Gerald Richter
> Where should I write this ? > in your httpd.conf, instead of PerlSetEnv EMBPERL_COOKIE_PATH / Gerald > / Stefan > > Gerald Richter wrote: > > > > > > >>I found out when using HTML::Embperl (i'e the Embperl 1) and doing > >>PerlSetEnv EMBPERL_COOKIE_PATH / it works perfectly fine. But that

Re: Problems with session handling

2003-03-25 Thread Stefan Cars
Where should I write this ? / Stefan Gerald Richter wrote: I found out when using HTML::Embperl (i'e the Embperl 1) and doing PerlSetEnv EMBPERL_COOKIE_PATH / it works perfectly fine. But that trick doesn't fix it for Embperl 2. In Embperl 2 writing Embperl_Cookie_Path / (without the

Re: Problems with session handling

2003-03-12 Thread Gerald Richter
> I found out when using HTML::Embperl (i'e the Embperl 1) and doing > PerlSetEnv EMBPERL_COOKIE_PATH / it works perfectly fine. But that > trick doesn't fix it for Embperl 2. > In Embperl 2 writing Embperl_Cookie_Path / (without the PerlSetEnv, lower/uppercase doesn't matter) should do the s

Re: Problems with session handling

2003-03-06 Thread Stefan Cars
I found out when using HTML::Embperl (i'e the Embperl 1) and doing PerlSetEnv EMBPERL_COOKIE_PATH / it works perfectly fine. But that trick doesn't fix it for Embperl 2. /S Stefan Cars wrote: Hi again! After doing some investigation I have found that when using the %udat. It sets the cookie

Re: Problems with session handling

2003-03-06 Thread Stefan Cars
Hi again! After doing some investigation I have found that when using the %udat. It sets the cookie to the browser with a PATH that points to the page that first used the %udat. This is not good since the %udat is supposed to be used in all embperl pages. Is this a bug ? / Stefan Stefan Cars

Problems with session handling

2003-03-06 Thread Stefan Cars
Hi! I'm trying to handle sessions using with embperl. I'm writing a value to $udat{submenu_id} and go to another page. This does not work at all in internet explorer 6 on windows or safari on Mac OS X although it works using Mozilla 1.3b on Linux/FreeBSD. On windows/mac os x the $udat{submenu_

Re: Problems with session

2002-07-17 Thread Michael Ott
Hallo! > > > > > > > I have done it. Here the output: > > > #0 0x4002e0c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0 > > > > Do you use mod_perl 2 with a Apache 2 with threads? > > No, using rh73 apache 1.3. with mod_perl It works. The problem was the mysql++-libraries. I working

Re: Problems with session

2002-07-15 Thread Michael Ott
Hallo! > > > > > I have done it. Here the output: > > #0 0x4002e0c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0 > > Do you use mod_perl 2 with a Apache 2 with threads? No, using rh73 apache 1.3. with mod_perl > > Neither DBI nor Embperl can handle threads correctly at the moment.

Re: Problems with session

2002-07-15 Thread Gerald Richter
Hi, > > > I have done it. Here the output: > #0 0x4002e0c7 in pthread_mutex_lock () from /lib/i686/libpthread.so.0 Do you use mod_perl 2 with a Apache 2 with threads? Neither DBI nor Embperl can handle threads correctly at the moment. So when you use mod_perl 2, you can only use the prefork MP

Re: Problems with session

2002-07-10 Thread Michael Ott
Hello all! > As Angus already write, a stack back trace would be the best. In short do > > gdb /path/to/httpd > set args -f /your/httpd.conf -X > r > -> you get the segfault > BT > you see the backtrace > > before doing this compile EMbperl with debug symbols: > > perl Makefile.PL debug > make

Re: Problems with session

2002-07-09 Thread Gerald Richter
Hallo! > > Where is the problem? Is there any debug-nr, where i can check, what > happens during start of the apache. > As Angus already write, a stack back trace would be the best. In short do gdb /path/to/httpd set args -f /your/httpd.conf -X r -> you get the segfault BT you see the backtrac

Re: Problems with session

2002-07-08 Thread Angus Lees
At Mon, 8 Jul 2002 20:41:02 +0200, Michael Ott wrote: > PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore" > PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:sessions UserName= >Password=" > > My apache crashes during start. When i set EMBPERL_SESSION_CLASSES="File File" > my

Problems with session

2002-07-08 Thread Michael Ott
Hallo! I have problem and i write it a second time. Here my httpd.conf #Alias /perl /var/www/perl # #SetHandler perl-script #PerlHandler Apache::Registry #Options +ExecCGI # PerlSetEnv EMBPERL_DEBUG 2147475453 PerlSetEnv EMBPERL_LOG /var/log/httpd/

Re: Problems with session

2002-07-07 Thread Michael Ott
On Sat, Jul 06, 2002 at 10:01:33PM -0400, David J. Mark wrote: > change apache httpd.conf where: > > LogLevel warn > > to: > > LogLevel debug I know it. But these are the two lines writting in my error_log: [Sun Jul 7 09:45:00 2002] [info] removed PID file /var/run/httpd.pid (pid=20371) [Sun

Re: Problems with session

2002-07-06 Thread David J. Mark
change apache httpd.conf where: LogLevel warn to: LogLevel debug and you will be able to get more details from the apache logs. DJM:> On Sat, 2002-07-06 at 16:47, Michael Ott wrote: > On Sat, Jul 06, 2002 at 08:32:20PM +0200, Gerald Richter wrote: > > > PerlSetEnv EMBPERL_SESSION_ARGS "Data

Re: Problems with session

2002-07-06 Thread Michael Ott
On Sat, Jul 06, 2002 at 08:32:20PM +0200, Gerald Richter wrote: > > PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=BDI:mysql:sessions UserName= > Password=" > > should be DBI:mysql... instead of BDI:mysql... > > > > > My apache crashes during start. When i comment out > > EMBPERL_SESSION_CLASSES an

Re: Problems with session

2002-07-06 Thread Gerald Richter
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=BDI:mysql:sessions UserName= Password=" should be DBI:mysql... instead of BDI:mysql... > > My apache crashes during start. When i comment out > EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS, my apache works > The crash my because of it can't conn

Problems with session

2002-07-05 Thread Michael Ott
Hallo! I have two problems. The first is a session-problem Here my httpd.conf #Alias /perl /var/www/perl # #SetHandler perl-script #PerlHandler Apache::Registry #Options +ExecCGI # PerlSetEnv EMBPERL_DEBUG 2285 PerlSetEnv EMBPERL_LOG /var/log/httpd/

Re: Problems with session management

2000-08-03 Thread Gerald Richter
> > Yes, but only when I restart apache using apachectl stop/start not > with graceful, is this normal? > Yes Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with session management

2000-08-03 Thread Eric Knauel
Hi Gerald, "Gerald Richter" <[EMAIL PROTECTED]> writes: > When Apache starts, you should see a message "Embperl session management > enabled", did you? Yes, but only when I restart apache using apachectl stop/start not with graceful, is this normal? Ciao, Eric -- E-Mail: [EMAIL PROTECTED

Re: Problems with session management

2000-08-03 Thread Eric Knauel
Hi Jon, "Jon Brisbin" <[EMAIL PROTECTED]> writes: > Here's what I did: I switched to using file-based session storage in a tmp > directory under /cgi-bin, which does not allow a malicious user, even if > they knew a session id, to view any of the session information. Here's what > I put in my

Re: Problems with session management

2000-08-02 Thread ___cliff rayman___
Eric Knauel wrote: > Hi, > > I have some trouble getting session management to work. I'm using > Apache Session 1.03, Embperl 1.3b4 with mod_perl on Apache 1.3.12, > here what I put in the httpd.conf: > > SetEnv EMBPERL_DEBUG 2375713 > SetEnv EMBPERL_VIRTLOG /embperl/log > PerlSetEnv EM

Re: Problems with session management

2000-08-02 Thread Gerald Richter
Hi, > > I have some trouble getting session management to work. I'm using > Apache Session 1.03, Embperl 1.3b4 with mod_perl on Apache 1.3.12, > here what I put in the httpd.conf: > > SetEnv EMBPERL_DEBUG 2375713 > SetEnv EMBPERL_VIRTLOG /embperl/log > PerlSetEnv EMBPERL_COOKIE_DOMAIN "ww

Re: Problems with session management

2000-08-02 Thread Jon Brisbin
Jon Brisbin www.jbrisbin.net [EMAIL PROTECTED] - Original Message - From: Eric Knauel <[EMAIL PROTECTED]> To: Embeded PERL ML <[EMAIL PROTECTED]> Sent: Wednesday, August 02, 2000 8:24 AM Subject: Problems with session management > > Hi, > > I have some trouble getting s

Problems with session management

2000-08-02 Thread Eric Knauel
Hi, I have some trouble getting session management to work. I'm using Apache Session 1.03, Embperl 1.3b4 with mod_perl on Apache 1.3.12, here what I put in the httpd.conf: SetEnv EMBPERL_DEBUG 2375713 SetEnv EMBPERL_VIRTLOG /embperl/log PerlSetEnv EMBPERL_COOKIE_DOMAIN "www.macnews.