I'm not quite sure why this is difficult?

[- $http_headers_out{'Location'} = $fdat{Errorpage} .
"?err=Error%20Occurred" -]

or you could just store the error in a session variable and then redirect.

-joe

______________________________________________________
joe lauer                      rootlevel
product developer              743 beaubien, suite 300
p.313.961.4407 x302            detroit, mi 48226
f.313.961.4568                 www.rootlevel.com

-----Original Message-----
From: Kaare Rasmussen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 09, 2000 2:15 PM
To: [EMAIL PROTECTED]
Subject: Redirect w/data


Hi

I want to go to another page if some condition arises. I can do this

[- $http_headers_out{'Location'} = "$fdat{Errorpage}" -]

But what if I want to pass a variable? In fact I want the error page to
display
the content of a error variable.

Of course it is possible to construct a "GET" type situation if I change the
location, but I thought maybe there is an easier way to accomplish this.

The only other way I can think of is to have a <form action="[+
$fdat{Errorpage} +]" and then activate the form automatically by some means,
but
this seems silly somehow.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to