[ic] Bounce problem

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Fri Sep 28 11:50:01 2001


Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> 
> The following code works fine to protect most pages against 
> non-members:
> 
> [if !session logged_in]
> 	[set nextpage]dealings[/set]
> 	[bounce href="[area login]"]
> [/if]
> 
> However, in conjunction with:
> 
> [tag op=header]Content-Type: text/html
> Cache-Control: no-cache
> Pragma: no-cache
> Expires: 0[/tag]
> 
> it quit working.

*How* did it quit working?

> 
> Any ideas ?
> 

You are setting the header, and apparently adding the Status:
and Location: keys doesn't work with in combination with what
you set the header to.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

Nature, to be commanded, must be obeyed. -- Francis Bacon