Response.Redirect must be called before anything is sent back to the client.
Make sure it is in a block of ASP code that appears before the first bit of
HTML, and do not use a Response.Write before the redirect:
e.g.:
<%
Response.Redirect "wherever"
%>
<!-- HTML code, if any, follows here -->
Colin
Quote:
>I cannot get my response.redirect to work. Here is the following error I
>recieve:
>Response object error 'ASP 0156 : 80004005'
>Header Error
>/ecommerce/accountgate.asp, line 37
>The HTTP headers are already written to the client browser. Any HTTP header
>modifications must be made before writing page content.
>DJG