Bill,
Try using request scope for httpHeader.  HttpHeader probably will not work
in cookie scope.

<@PURGERESULTS>
<@ASSIGN NAME="httpHeader" SCOPE="cookie" VALUE="HTTP/1.1
302<@crlf>Location: <@VAR name="good_login_return" scope="user"
encoding="none"><@crlf><@SETCOOKIES><@crlf><@USERREFERENCECOOKIE><@crlf><@cr
lf>">


Witango Support


On 10/6/03 12:02 PM, "Bill Conlon" <[EMAIL PROTECTED]> wrote:

> Yep.  Looks like a bug.
> 
> If I do the same assignment to a user scope variable, I see the header
> value I want in the debug output on the re-directed page.  But the cookie
> itself is not delivered to the browser.
> 
> Als curious;  the USERREFERENCE cookie does not get included in my user
> variable, but appears to over-write my assigned cookies in the actual
> httpHeader.
> 
> I've filed a bug report.
> 
>> Have you tried reading the contents of the variable to make sure that
>> that it contains what you are expecting? Two things that you can look
>> at that are new in Witango 5:
>> 
>> There have been changes with regards to the way Witango 5 resolves
>> paths.
>> 
>> Also from the What's New in Witango 5:
>> 
>> The httpheader config variable does not function the same way as Tango
>> 2000.  You will now need to send   complete http headers, not partial
>> header like Tango 2000 allowed.  There are 2 new tags to assist you in
>> formulating http headers - @HTTPREASONPHRASE and @HTTPRESPONSECODE
>> 
>> Hope this helps,
>> 
>> Steve Smith
>> 
>> Oakbridge Information Solutions
>> Office: (519) 624-4388
>> GTA:    (416) 606-3885
>> Fax:    (519) 624-3353
>> Cell:   (416) 606-3885
>> Email:  [EMAIL PROTECTED]
>> Web:    http://www.oakbridge.ca
>> 
>> On Monday, June 9, 2003, at 08:58 PM, Bill Conlon wrote:
>> 
>>> Redhat 9/Apache2/Witango 5.01.059
>>> 
>>> Here's my custom header:
>>> 
>>> <@PURGERESULTS>
>>> <@ASSIGN NAME="httpHeader" SCOPE="cookie" VALUE="HTTP/1.1 302
>>> <@crlf>Location: <@VAR
>>> name="good_login_return" scope="user"
>>> encoding="none"><@crlf><@SETCOOKIES><@crlf><@USERREFERENCECOOKIE><@crlf
>>>> <@c
>>> rlf>">
>>> 
>>> This redirects to the appropriate page (specified by the variable
>>> good_login_return, and includes a USERREFERNCECOOKIE, but other cookies
>>> are not set in the http header.
>>> 
>>> This works in 3.52.  Can anyone see an error.  I'm afraid I've been
>>> staring at it too long.
>>> 
>>> thx.
>>> 
>>> Bill Conlon
>>> 
>>> To the Point
>>> 345 California Avenue Suite 2
>>> Palo Alto, CA 94306
>>> 
>>> office: 650.327.2175
>>> fax:    650.329.8335
>>> mobile: 650.906.9929
>>> e-mail: mailto:[EMAIL PROTECTED]
>>> web:    http://www.tothept.com
>>> 
>>> 
>>> _______________________________________________________________________
>>> _
>>> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
>>> 
>>> 
>> 
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 
> 
> Bill Conlon
> 
> To the Point
> 345 California Avenue Suite 2
> Palo Alto, CA 94306
> 
> office: 650.327.2175
> fax:    650.329.8335
> mobile: 650.906.9929
> e-mail: mailto:[EMAIL PROTECTED]
> web:    http://www.tothept.com
> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to