Re: PSP and owa_util.redirect_url

From: Finn Ellebaek Nielsen <_remove_fen_remove__at_changegroup.dk>
Date: Sat, 22 Mar 2003 11:40:59 +0100
Message-ID: <3e7c3dba$0$24725$edfadb0f_at_dread14.news.tele.dk>


[Quoted] Hi Carsten.

You have to make sure that you have no white space between the PSP tags coming before the scriptlet where you call OWA_UTIL.REDIRECT_URL, eg:

<%_at_ plsql procedure="redirect" %><%
owa_util.redirect_url('http://www.changegroup.biz/en/main.psp'); %>

instead of

<%_at_ plsql procedure="redirect" %>
<% owa_util.redirect_url('http://www.changegroup.biz/en/main.psp'); %>

HTH. Finn Ellebaek

--
---------------------------------------------------------------------------
 Finn Ellebaek Nielsen                           ChangeGroup ApS
 Product Manager, Principal Consultant, Partner  Kronprinsessegade 54, 4.
 E-mail: finn.ellebaek.nielsen_at_changegroup.dk    DK-1306  Koebenhavn K
 Mobile: +45 20 32 49 25                         Denmark
 Phone:  +45 33 32 77 78                         http://www.changegroup.dk
---------------------------------------------------------------------------
ChangeGroup PL/SQL Server Pages: Web-enable PL/SQL code and developers
ChangeGroup Open System Documentary: Oracle system documentation generator

"Carsten Saathoff" <kodemaniak.news_at_gmx.de> wrote in message
news:slrnb7lqfg.g4i.kodemaniak.news_at_underdark.kodemaniak.homeip.net...

> Hello,
>
> I try to redirect from within a PSP to another url. I am using the
> owa_util.redirect_url() function for this. The problem is, that
> 'loadpsp' adds several htp.prn() statements into the compiled function.
> Of courese the redirect won't work, if any whitespace is sent before the
> Header. Do you know of any way, to tell 'loadpsp' to add no whitespace?
>
> Thanks in advance
>
> Carsten
>
> --
> Carsten Saathoff ...powered by Linux
Received on Sat Mar 22 2003 - 11:40:59 CET

Original text of this message