Re: New session with already existing id & reuse dbh for session db

2001-08-20 Thread Robert
Gerald Richter wrote: > > > 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 dir

Re: Can't locate object method "setidfrom"

2001-08-20 Thread Lukas Zapletal
>P.S. The embperl mailing list is the right place to discuss this Add this to your footer sign, Gerald. :-) >Could be a problem of your session handler, when no session id is defined, >but I don't know. Try to set some id in the function: I did... my class is well tested, I hate these fatal exce

Re: multipart/form-data and fdat

2001-08-20 Thread Gerald Richter
Hello, > > seems we 've got the same problem. > I'm using Perl 5.6.1 and CGI 3.02. > ... >If I try to use enctype="multipart/formdata" >the data the cgi-script receives are empty. >This does not happen if I try >enctype="application/x-www-form-urlencoded". ... > > > --- > > > Method Not Implemen

Re: Can't locate object method "setidfrom"

2001-08-20 Thread Gerald Richter
> > my perl exits with fatal exception of reading address 0x > Could be a problem of your session handler, when no session id is defined, but I don't know. Try to set some id in the function: sub setidfrom { $_[0] -> setid (1) ; } Gerald --

Re: Please help - trouble installing EmbPerl on Linux

2001-08-20 Thread Gerald Richter
Hi, > > Invalid command 'PerlFixupHandler', perhaps >... > PerlFixupHandler is defined in modperl, which should > be built into Apache. So why is it undefined? I guess it isn't, but no matter it isn't necessary for make test. Just comment out or delete all occurences in test/conf/httpd.conf.sr

Re: New session with already existing id & reuse dbh for session db

2001-08-20 Thread Gerald Richter
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 sto

Re: module cache

2001-08-20 Thread Gerald Richter
Hi, > > > Thanks. I managed to run Apache::Reload on my linux box (RH 7.1, Perl5), but > on win32 (ActiveState Perl) it won't work. Any ideas? > I installed Apache::Reload using PPM. > I use it on windows too without problems, but I don't use ActiveState Perl. Normaly this shouldn't make a differ

Re: Can't locate object method "setidfrom"

2001-08-20 Thread Lukas Zapletal
>Yes, it's new in Apache::SessionX (ftp://ftp.dev.ecos.de/pub/perl/session) >which is required for Embperl 1.3.4 (unless you have your own handler :-) > >If you don't use %mdat, just make it a empty function, if you use %mdat it >should convert the given string argument to a valid session id and c

Re: Can't locate object method "setidfrom"

2001-08-20 Thread Gerald Richter
Hil, > > Embperl 1.4.4_dev-3: > > Can't locate object method "setidfrom" via package "Weber::Session::Embperl" ... > > There is no "setidfrom" method in Embperl::Session. > Yes, it's new in Apache::SessionX (ftp://ftp.dev.ecos.de/pub/perl/session) which is required for Embperl 1.3.4 (unless you h

Re: ANNOUNCE: syntax definition for vim 6.0

2001-08-20 Thread Lukas Zapletal
I copied bad piece of code, sorry for this: >>How do you enable the yellow background? I tried adding 'set bg=dark' >>and 'set background=dark' to my ~/.vimrc, but no go. autocmd BufNewFile,BufRead *.epl,*.phtml colorscheme embperl_yellow ps - I`m not sure if I already reply your question...

Re: ANNOUNCE: syntax definition for vim 6.0

2001-08-20 Thread Lukas Zapletal
>Extremely cool! :-) >[$ sub foo $] was a little wonky on the file I tried it on. I saw in one >of the .vim files that this is a known issue, caused by the perl >syntaxes. fixed, check version 1.1 (coming soon) >Is folding supposed to work for [$ $], [- -], etc? scheduled for 2.0 >How do you