Use value="HTTP/1.1 302 Moved<@crlf>Location: <@var method$URL encoding=metahtml><@crlf><@crlf>"
The HTTP response code you are giving is not the right one for redirect. The 300 series is for redirect.


Ken

Fogelson, Steve wrote:

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

Reply via email to