Re: Bug Report::Embperl Session Handling

2001-10-29 Thread steve . fawcett1
Hi Ensure you have MD5 installed (Different to Digest::MD5). I'm sure you have or your test script would fail at the "use MD5;" line. Instead of putting the line "use MD5;" in your embedded perl - try putting the following line in your apache conf file along with your session handling stuff:

Re: Mailing list archive email addresses and spambots

2001-10-29 Thread Gerald Richter
Hi, > > I was just wondering if there is anything that can be done to "hide" > email addresses (or at least make them a little more obscure) in the > Embperl mailing list archive. This is because of the spambots that > reportedly harvest addresses from websites. I have noticed that the > archive

Re: DBIx::Recordset and composite primary keys?

2001-10-29 Thread Gerald Richter
Hi, > > Doesn't look like DBIx::Recordset supports composite primary keys - is > that by design or it just a feature you haven't needed? > I didn't need it so far. A long time ago somebody submitted a patch to me that builds compsoite prim key support into DBIx::Recordset, but it had such a high

Re: embperl question

2001-10-29 Thread Gerald Richter
Hello > > Is it feasible to try to use > embperl on a hosted site that > doesn't have mod_perl? > You can run Embperl as CGI. That's of course slower than using mod_perl but it works. The current CVS version of Embperl also supports FastCGI. Since FastCGI needs not to be compiled into the web ser

Re: Hiding the source code

2001-10-29 Thread Gerald Richter
> > I have a really big problem now. We are going to install our first application > but we need to hide the sourcecode. User should be not allowed to get the > source. Is there any way to do it? > > Thank you for help. > > This is very important since we cannot install it until it can be done. >

Re: Session Handling and Get Variables or Forms

2001-10-29 Thread Gerald Richter
> > I have an authentication system that uses the Apache::Session::MySQL > backend with cookies to handle authentication. > > Sequence I use is: > > 1) Get username and password > 2) If ok, generate a sessionkey and set > $udat{'sessionkey'}=gen_sessionkey($username) > > However, every now and the

Re: EmbperlObject interface to mod_mp3

2001-10-29 Thread Gerald Richter
> > Whoops, sorry, didn't mean to send that to the whole list. Why not ? It's not too long and if anybody else runs into the same problem as you, he has already a solution... Gerald - Gerald Richterecos electronic communication ser

Re: Bug Report::Embperl + Session Handling

2001-10-29 Thread Gerald Richter
> > I recently decided to upgrade Storable and Apache::Session; the base > system is a RedHat 7.1 installation of Perl v5.6.0. > > Versions I have are found at: > One of those module didn't require MD5 anymore, so it's not loaded as it was with the old versions. That's why loaded MD5 solves your

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread Gerald Richter
Hi, > HTML::Embperl::Req::SetupSession($req_rec); > my %udat = HTML::Embperl::Req::GetSession; > > if (exists $udat{user}) { > GetSession returns a reference to hash, so you have to write: my $udat = HTML::Embperl::Req::GetSession; if (exists $udat->{user}) { but you don'

Fw: Hiding the source code

2001-10-29 Thread Gerald Richter
This answer seems to have gone lost somewhere, so here is it again... - Original Message - From: "Gerald Richter" <[EMAIL PROTECTED]> To: "Lukas Zapletal" <[EMAIL PROTECTED]>; "Konference EmbPerl" <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 4:20 AM Subject: Re: Hiding the source co

RE: Help working with html, embper, and oracle

2001-10-29 Thread Boyd, David
I have $escmode = 7 and $optRawInput = 1. now, that seems to fix the issue i was having with saveing the format of the input string. now, if I have a statement such as this: This could not be a good "TEST", life is good, the double quotes are saved into the database and when i bring the recor

RE: Help working with html, embper, and oracle

2001-10-29 Thread Boyd, David
Thanks that did solve the issue i was running into. -Original Message- From: Dimitar Peikov [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 7:14 AM To: Boyd, David Subject: Re: Help working with html, embper, and oracle Use this : $sql = "INSERT INTO incident (incident.q2, in

Re: Session Handling and Get Variables or Forms

2001-10-29 Thread Elvis
What version of MySQL is being used? I had a case of using 3.23.34 and there apparently is a threading bug that was fixed in .35. I'd see the UPDATE command go into the DB for the session, but it was actually never taken effect. Bill "Elvis" Gibbs goEbusiness.com - putting e-motion in your bu

newbie questions

2001-10-29 Thread Igor Román Mariño
Hi! I'm trying to develop a net site with HTML::Embperl, but im getting some "newbie" problems. What i want to do: have embedperl code in ~/gestdep/ehtml and subdirs. Use .ehtml extension to embperl code what i tried: amongst other combinations, i added the following to commonhttpd.conf -- Alia

SessionX

2001-10-29 Thread Nate Smith
Hi, I'm trying to setup sessions using apache 1.3.22, mysql 3.23.36, Apache::Session 1.54, Embperl 1.3.3. I have created a table in a mysql db just as described in the documentation, and I have the following apache (relevant) configuration: PerlSetVar Allow yes

Re: newbie questions

2001-10-29 Thread Gerald Richter
> Alias /gestdep /home/irm/gestdep/ehtml > > #PerlModule Apache::Registry > AddType text/html .ehtml > This will not work does not accept wildcards. If you need this you have to use LocationMatch > SetHandler perl-script > PerlHandler HTML::Embperl #Apache::PerlRun > Options -Ind

Re: SessionX

2001-10-29 Thread Gerald Richter
> > > > PerlSetVar Allow yes > SetHandler perl-script > PerlHandler HTML::EmbperlObject > PerlSetEnv EMBPERL_OBJECT_BASE template.epl > PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore" > P

Setup under limited access

2001-10-29 Thread doug edmunds
I have a experimental site with these allowances and restrictions: Allowed: cgi-bin (call #!usr/local/bin/perl Allowed: apache Allowed: can fpt .pm files into localmodule directory and add that directory to @INC Restriction: no shell access Restriction: apache does not have mod_perl I want to

Re: Session Handling and Get Variables or Forms

2001-10-29 Thread David Lloyd
Elvis! [root@localhost /root]# rpm -qa | grep mysql mysql-3.23.36-1 php-mysql-4.0.4pl1-9 mysqlclient9-3.23.22-4 mysql-server-3.23.36-1 mysql-devel-3.23.36-1 DSL -- If we could extract all the evil from each of us, Think of the world that we could create! A world without anger, or violence or

Re: Session Handling and Get Variables or Forms

2001-10-29 Thread David Lloyd
H... > There are two things that I could image. Either for whatever reason your > sessions never goes into the database, in this case %udat will behave like a > normal hash and it works as long as you hit the same child. (You will hit > the same child as long as your KeepAliveTimeout isn't o

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread alan milligan
Andy, Thank you for your help. Gerald's comment about SetupSession passing a hash ref and not a hash primarily resolved my problem! I am curious though. I have experimented with the Apache::is_main() function over the last few days, and can't quite figure it out. I would have presumed that

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread Andrew O'Brien
On Tue, Oct 30, 2001 at 03:56:13AM +, alan milligan wrote: > I am curious though. I have experimented with the Apache::is_main() > function over the last few days, and can't quite figure it out. I would > have presumed that this would indicate a direct GET/POST request as opposed > to a