Trouble setting multiple cookies

2000-09-15 Thread Alessandro Ambrosini
I'm novice to Embperl. Till now I've used PHP3 but I want to use Perl (great !) I know the feature of Embperl Session Management (using Apache::Session) but I need to set multiple cookies in a single HTML page and I don't want to use Session Management. But settings multiple cookies doesn't work

Re[2]: Redirecting and fdat

2000-09-15 Thread Alexei V. Alexandrov
Hello John, Friday, September 15, 2000, 11:12:51 PM, you wrote: JW> Thanks for the help. I'm already using cookies for authentication, so addinganother won't hurt. Just a few questions. JW> My web servers are load balanced. Any problems with %udat getting information JW> back if the new docume

Re: Redirecting and fdat

2000-09-15 Thread John Walstra
Thanks for the help. I'm already using cookies for authentication, so addinganother won't hurt. Just a few questions. My web servers are load balanced. Any problems with %udat getting information back if the new document is loaded on a different server? Or does it store the hash in the cookie?

Re: error

2000-09-15 Thread Andre Landwehr
On Fri, Sep 15, 2000 at 04:10:29PM +0200, Gerald Richter wrote: > > $udat{ImageName} = $fdat{ImageName}; > > I guess this is from a file upload. CGI.pm uses some magic with globs. Try > > $udat{ImageName} = scalar($fdat{ImageName}) ; oh, thanks... sometimes I'm really too dumb to see the obviou

Re: error

2000-09-15 Thread Gerald Richter
> $udat{ImageName} = $fdat{ImageName}; I guess this is from a file upload. CGI.pm uses some magic with globs. Try $udat{ImageName} = scalar($fdat{ImageName}) ; to convert the typeglob into a scalar value Gerald > $fdat{ImageName} contains a filename, e.g. "74321623782.jpg" > after that Apac

error

2000-09-15 Thread Andre Landwehr
Hi, I used %udat many times and so far without problems, but now I have one: I simply assign a value from %fdat to %udat: $udat{ImageName} = $fdat{ImageName}; $fdat{ImageName} contains a filename, e.g. "74321623782.jpg" after that Apache hangs and /var/log/apache/error_log says: - [Fri Sep

Re: Redirecting and fdat

2000-09-15 Thread Nouguier
John Walstra wrote: > I have two embperl documents. The first one generates a form. When you submit > the form, it calls itself, "", to check > for field errors (eg Someone typing in a username that exists in the system). If > there is no field errors, I use the following to redirect to my second

Re: Redirecting and fdat

2000-09-15 Thread Andre Landwehr
On Thu, Sep 14, 2000 at 05:57:27PM -0500, [EMAIL PROTECTED] wrote: > I have two embperl documents. The first one generates a form. When you submit > the form, it calls itself, "", to check > for field errors (eg Someone typing in a username that exists in the system). If > there is no field errors

Re: Redirecting and fdat

2000-09-15 Thread Alexei V. Alexandrov
Hello John, Friday, September 15, 2000, 2:57:27 AM, you wrote: JW> I have two embperl documents. The first one generates a form. When you submit JW> the form, it calls itself, "", to check JW> for field errors (eg Someone typing in a username that exists in the system). If JW> there is no field

Re: Redirecting and fdat

2000-09-15 Thread Gerald Richter
> > What I want is to have the data that is stored in fdat, from the first document, > be passed to the second document via the redirect. Is this possible? > You can append them as query string to the redirect URL e.g. to pass name $req_rec->header_out("Location" => "second.epl?name=$fdat{name

Re: Arbitrary handler return values from Embperl?

2000-09-15 Thread Gerald Richter
> > I was guessing it might be because even though the status has been set > manually Embperl as the handler is returning an OK? > Yes, you are guessing right... > Any suggestions where to go from here? > If you don't want to return the status to the client, but triggering an errordocument, you