Print Page | Close Window

Response.Redirect/Write

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3941
Printed Date: 30 March 2026 at 10:06am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Response.Redirect/Write
Posted By: accordingtome.n
Subject: Response.Redirect/Write
Date Posted: 29 June 2003 at 8:39pm

Stupid questions guys.

USing Response.redirect or response.write, how do I make the browser go back to the last page?

Thanks for the help,

Ryan




Replies:
Posted By: the boss
Date Posted: 29 June 2003 at 8:43pm

u need to use java script

javascript:history.back()

or something like that..



Posted By: accordingtome.n
Date Posted: 29 June 2003 at 8:45pm
How would I write that in the response.write field?


Posted By: Gary
Date Posted: 30 June 2003 at 2:26am

Why the need to Response.Write ???
You could do something like this.....

<% IF redirect=true THEN%>
    <script language="Javascript">
         {histoty.go(-1);}
    </script>
<% END IF %>




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net