Hi Steve, It's hard to put my finger on the exact problem here, but if I was writing this HTTP Response Header, I would:
~ Put only one <@CRLF> after <@userreferencecookie><@crlf>, because <@userreferencecookie> already includes one <@CRLF> (check the documentation). Because HTTP headers are separated by two line-feeds from content, and any more or less and Servers will react unpredictably. ~ Put a complete URL path for "location", e.g., http://www.site.com/some.taf?arg=value ~ Not include the Date property. ~ Prefix the Server property you have with "X-", to make it "X-Server: ...". I mention these last two, because even though you should craft complete HTTP Response headers, you Web server will still add some content on it's own - so you may be creating a conflict. Looking at the finished variable in Debug is helpful, but you should also check what the real HTTP Header looks like using a HTTP Sniffer tool to ensure it is properly formed. Try http://www.httpsniffer.com of http://www.pocketsoap.com Hope this helps. Cheers.... Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community --------------------- XML-Extranet - http://xmlx.ca 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) --------------------- > -----Original Message----- > From: Fogelson, Steve [mailto:[EMAIL PROTECTED] > Sent: Friday, January 02, 2004 9:04 AM > To: Witango User Group (E-mail) > Subject: Witango-Talk: Another Ver 5 conversion question > > I am using the following for redirects: > <@assign request$httpHeader value="HTTP/1.1 <@httpstatuscode> > <@httpreasonphrase><@crlf>Date: <@currenttimestamp > format='datetime:http'><@crlf>Server: Witango > 5.0.1.062<@crlf>MIME-Version: > 1.0<@crlf>Content-Type: text/html<@crlf>Location: <@var > method$URL > encoding=metahtml><@crlf><@setcookies><@userreferencecookie><@ > crlf><@crlf>"> > > With debug on it yields: > request$httpHeader=HTTP/1.1 200 OK Date: Friday, 02-Jan-2004 > 09:57:11 GMT > Server: Witango 5.0.1.062 MIME-Version: 1.0 Content-Type: text/html > Location: > /Admin/modifycategory.taf?_function=detail&Categories_uid1=2 ; > > I don't get the 500 error but it doesn't redirect. Any ideas? > > Thanks > > Steve Fogelson > Internet Commerce Solutions > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
