Results 1 to 5 of 5

Thread: How to use flow control in ASP 3.0

  1. #1
    Join Date
    Feb 2010
    Posts
    532

    How to use flow control in ASP 3.0

    Hi all,

    I am using ASP 3.0 in my project. ASP3.0 of flow control techniques are actually refers to the procedural flow, that is a popular point of processes, ASP3.0 in with the two new flow control method: "Server.Transfer" and "Server.Execute", I need the compare between Response.redirect with the use of Server.Transfer. Please suggest how to use flow control in ASP 3.0. Thanks in advance.

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    How to use flow control in ASP 3.0

    Let us first take a look at how the response.redirect and Server. response.redirect is a matter of fact this statement is encountered when the server is sent when a command to the browser, and then let the browser to send a http request, the request that a new response.redirect behind the http address, process is as follows : Browser ASP file requests - "server execution -" encountered response.redirect statement - "the address of the server to send response.redirect back to the client-side browser -" browser requests the implementation of the new address the server returns back Response.Redirect address. Check and reply.

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    How to use flow control in ASP 3.0

    It has so many processes, it was awful and ASP3.0 the Server. Transfer statement when receiving address is directly behind the steering addresses, process is as follows. Browser ASP file requests - "server execution -" encountered Server. Transfer statement - "turn a new file server, so that less of a process! Also shortened the server - "client -" the server each time of the visit. But it is worth to remind you of that it is important Server.transfer address in the zone is best html file or asp file, do not load third-party things, such as PHP, if that case, the program is not properly executed, because the the files were turning the engine directly to the ASP. Check and reply.

  4. #4
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How to use flow control in ASP 3.0

    In the following program, we will demonstrate low control in ASP 3.0, as you let us look at the following code:
    Code:
    <Html>
    <Head>
    <Meta http-equiv = "Content-Type" content = "text / html; charset = gb23123">
    <META NAME = "Author" CONTENT = "Pu Junjie" "
    <META NAME = "Keywords" CONTENT = "ASP, www.123.com">
    <Title> Response Test
    </ Head>
    <Body>
    <% Response.Redirect "test.php"%>
    </ Body>
    </ Html>
    test.php file code is as follows:
    Code:
    <Html>
    <Head>
    <Meta http-equiv = "Content-Type" content = "text / html; charset = gb23123">
    <META NAME = "Author" CONTENT = "abc" "
    <META NAME = "Keywords" CONTENT = "ASP, PHP, www.123.com">
    <Title> Response Test </ title>
    </ Head>
    <Body>
    <? Echo "
    This is a test, you are okay! Welcome you to visit our website <a href = http://www.123.com> www.123.com
    "  ;  ?>
    </ Body>
    </ Html>

  5. #5
    Join Date
    May 2008
    Posts
    2,389

    How to use flow control in ASP 3.0

    I wanted to test the above code, see the result it. Let us take a look at the use of Server.Transfer statement, the code is as follows:
    Server.asp (In fact, you can directly apply the Response.asp a):
    Code:
    <Html>
    <Head>
    <Meta http-equiv = "Content-Type" content = "text / html; charset = gb2312">
    <META NAME = "Author" CONTENT = "abc" "
    <META NAME = "Keywords" CONTENT = "ASP, www.123.com">
    <Title> Response Test </ title>
    </ Head>
    <Body>
    <% Server.Transfer "test.php"%>
    </ Body>
    </ Html>
    The implementation of what Server.asp. Strange, and do nothing. But you look at the code has been interpreted IE. Check and reply.

Similar Threads

  1. How to does the air flow in GZ-X9
    By Tarunika in forum Hardware Peripherals
    Replies: 6
    Last Post: 07-08-2011, 08:55 PM
  2. Error Control and flow control in TCP/IP?
    By Diellza in forum Networking & Security
    Replies: 5
    Last Post: 07-01-2011, 09:36 AM
  3. Your computer has too much air flow
    By Potawatomi in forum Overclocking & Computer Modification
    Replies: 3
    Last Post: 22-08-2010, 01:48 AM
  4. What are Flow Control Statements in JavaScript?
    By super soaker in forum Software Development
    Replies: 4
    Last Post: 09-02-2010, 04:46 AM
  5. Need help with air flow in the cabinet
    By Digital OC in forum Overclocking & Computer Modification
    Replies: 4
    Last Post: 16-02-2009, 06:22 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,576,031.58369 seconds with 17 queries