Re: Arbitrary handler return values from Embperl?

2000-09-14 Thread Gavin Carr
Yeah I've tried this (and variations, with $optReturnError both ways as well) but it doesn't seem to do the job - I just get a blank page, and if an ErrorDocument is defined it doesn't get picked up. The difference can be seen below, with the first being the embperl page doing a [- $req_rec->statu

Redirecting and fdat

2000-09-14 Thread John Walstra
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 document. $req_rec->heade

Re: Arbitrary handler return values from Embperl?

2000-09-14 Thread Gerald Richter
> > I've got an Embperl page where I'd like to have Embperl stop > processing and return an Apache FORBIDDEN or DECLINED or some other > arbitrary handler return code if particular conditions are true. > Apache::exit does the stop but not the return code. I can think of a > few kludges, but was wo

Re: Frames and session (problems)

2000-09-14 Thread Gerald Richter
Hi, > > > $http_headers_out{'Location'} = "/login.html","main_content"; "main_content" has no effect. You cannot pass the target in a redirection. > I get the impression that Embperl or Apache:Session sees the redirect/link as a different browser? Cookies are only send back by the browser to th

Re: Mailing List Archive

2000-09-14 Thread Gerald Richter
Hi, > > > [EMAIL PROTECTED] is missing from your list. Any reason for that? Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * C

Arbitrary handler return values from Embperl?

2000-09-14 Thread Gavin Carr
Hi Gerald et al, I've got an Embperl page where I'd like to have Embperl stop processing and return an Apache FORBIDDEN or DECLINED or some other arbitrary handler return code if particular conditions are true. Apache::exit does the stop but not the return code. I can think of a few kludges, but

Frames and session (problems)

2000-09-14 Thread Hans de Groot
Hi, I am using embperl 1.3.5b and Apache::Session 1.52 Before I could not get sessions to work at all but starting from this combination it worked fine, that is, until I stared using frames. I have a frameset calling 2 normal html pages and 1 embperl page. (hello.html) The framename is main_co