ANNOUNCE: PageKit 1.00

2001-05-17 Thread T.J. Mather
PageKit 1.00 has been released. PageKit is a mod_perl based web application framework that uses HTML::Template and XML to separate the Model, View, Content and Controller. Provides elegant solutions to many difficult web programming problems, including session management, language localization, a

Appending Session ID behind URL

2001-05-17 Thread ktgoh
Hi all: I have a textbox in the HTML page which allows users to enter url. After the user click submit, i append the sessionid at the tail of the url.   My qn is. how do i append all the links for that page with the sessionid.   In my Apache module   sub handler{   $r = shift; $quer

ANNOUCE: HTML::Mason 1.03

2001-05-17 Thread Jonathan Swartz
The URL http://www.masonhq.com/download/HTML-Mason-1.03.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JS/JSWARTZ/HTML-Mason-1.03.tar.gz size: 279632 bytes md5: 7b914a712b0b58194d80701d27dca2aa Mason is a component-based web site development system with caching, debugging, and

[JOB] Contract XS Job

2001-05-17 Thread Alex Krohn
Hi, This isn't really a strictly mod_perl related job, but we need someone who really knows Perl and C well, and I know a lot of talented people listen here. ;) We have created a perl templating module. It's quite fast, however we would like to improve performance by recoding the guts of the par

Re: Preventing duplicate signups

2001-05-17 Thread James G Smith
Haven't had enough time for my previous reply to make it back to me so I could reply to it If using SQL, you might be able to do row or table locking to get around any race conditions. "Rob Bloodgood" <[EMAIL PROTECTED]> wrote: >> A really simple trick would be rather than to use a cookie,

Re: Preventing duplicate signups

2001-05-17 Thread James G Smith
"Rob Bloodgood" <[EMAIL PROTECTED]> wrote: >> A really simple trick would be rather than to use a cookie, if >> you are saving state to DB anyway. Set a flag in the DB and test >> for its existence. >> >> sub handler{ >> >> my $s = session->new(); >> $s->continue(); >> >> my

Re: Preventing duplicate signups

2001-05-17 Thread Jeffrey W. Baker
On Thu, 17 May 2001, Rob Bloodgood wrote: > So, like many of you, I've got a signup system in place for bringing on new > customers. > > My signup script is reasonably straightforward. I use CGI::Validate to make > my parameters pass muster (along with a little judicious JavaScript on the > si

Re: Preventing duplicate signups

2001-05-17 Thread G.W. Haywood
Hi Rob, On Thu, 17 May 2001, Rob Bloodgood wrote: > But it doesn't work. I still get duplicate accounts, and I'm at a loss [snip] > Suggestions? As you're using Oracle, why not use a constraint? 73, Ged.

Re: Preventing duplicate signups

2001-05-17 Thread clayton cottingham
Rob Bloodgood wrote: > > So, like many of you, I've got a signup system in place for bringing on new > customers. > > My signup script is reasonably straightforward. I use CGI::Validate to make > my parameters pass muster (along with a little judicious JavaScript on the > signup form), Apache::

RE: Preventing duplicate signups

2001-05-17 Thread Rob Bloodgood
> A really simple trick would be rather than to use a cookie, if > you are saving state to DB anyway. Set a flag in the DB and test > for its existence. > > sub handler{ > > my $s = session->new(); > $s->continue(); > > my $flag = $s->get('flag'); > if($flag){ > #

Re: Preventing duplicate signups

2001-05-17 Thread Tim Tompkins
Once your signup engine is ready to perform all database entries, have it set and commit a flag in the session indicating that it is processing. Once the signup process is complete, set a flag in the session indicating this as well. You must now add two tests to your signup engine to avoid dupes

Preventing duplicate signups

2001-05-17 Thread Rob Bloodgood
So, like many of you, I've got a signup system in place for bringing on new customers. My signup script is reasonably straightforward. I use CGI::Validate to make my parameters pass muster (along with a little judicious JavaScript on the signup form), Apache::Session::Oracle to maintain state be

RE: NameWithVirtualHost

2001-05-17 Thread Geoffrey Young
> -Original Message- > From: Jason Czerak [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 16, 2001 3:18 PM > To: [EMAIL PROTECTED] > Subject: NameWithVirtualHost > > [snip] > and the lines in startup.pl: > > #! /usr/bin/perl > use strict; > use Apache::RegistryNG; > use CGI (); > u