This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » Dreamweaver » Redirect from results Asp
Reply

Redirect from results Asp

Kent Kra188
Member



Since: 05 May 2008
Posts: 1
Posted 05 May 2008 20:36:00

I have two parts to this:

I am using Dreamweaver MX

The first of the of the redirect works but how do I get the second part to work if the first part is false?

<%
if (Recordset1.EOF) {Response.Redirect("timelocked.asp"} - This works but how do I go to the next redirect if this passes?

{Response.Redirect ("jobassign.asp"}
%>

I have two parts to this:

I am using Dreamweaver MX

The first of the of the redirect works but how do I get the second part to work if the first part is false?

<%
if (Recordset1.EOF) {Response.Redirect("timelocked.asp"} - This works but how do I go to the next redirect if this passes?

{Response.Redirect ("jobassign.asp"}
%>
Dave Clarke
lost Member



Since: 17 Mar 2002
Posts: 572
Replied 22 May 2008 08:39:34
<%
if (Recordset1.EOF) Then {Response.Redirect("timelocked.asp"}
else
{Response.Redirect ("jobassign.asp"}
end if
%>


UD4|DW8.02|DWCS3|ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome.
www.reunite.co.uk
www.dogworld-uk.com

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency