ASP source code for web programming

Updated on technology 2024-05-19
3 answers
  1. Anonymous users2024-02-10

    if "link")<>"" then 'If the link parameter is not null.

    linkpath="query_string") 'Get all the arguments in string"?"Later parts such as? a=1&b=2 The value of linkpath is a=1&b=2

    pos=instr(linkpath,"link=") 'Obtain the string link= position in the linkpath.

    linkpath=right(linkpath,len("query_string"))-pos-4)

    len("query_string"))-pos-4 'Obtain the string after the link, include the link and then -4 to get the position from the left of the =, and then rigth to get the string after the =.

    Browser redirects.

    Ditto. end if

    The person who wrote this ** is idle? The result is equivalent to:"link") value.

    Equivalent to the following**.

    if "link")<>"" then

    link"))

    end if

  2. Anonymous users2024-02-09

    linkpath="a=1&link=2"

    pos=instr(linkpath,"link=")linkpath=right(linkpath,len(linkpath)-pos-4)

    linkpath

    len(linkpath)-pos-4, where 4 was originally 5, that is"link="but because the front is acquired with instr"link="The position is already included in a bit to go into, so it's 4

    This program deliberately organizes some logic, which reminds me of the question made by a middle school teacher.

  3. Anonymous users2024-02-08

    Asynchronous ** is to process your own response without waiting for a response after initiating the request, it does not process the entire request, but only processes a small part, and on the web page, it is manifested that the page is not refreshed, but the data is partially updated.

    Synchronization means that you have to wait until you respond to the request before you can do anything else, and when it comes to a web page, the entire page is refreshed and the data is updated.

    Here are two examples:

    Let's start with an example of a synchronous call:

    For example, if your program calls a method, and this method needs to be executed for a long, long time, and the time is uncertain, the traditional method is to "call synchronously", as follows:

    private int func()

    private void a()

    With the above method, which can be called a synchronous call, it is clear that it has a drawback:

    The func method is executed for too long, the program will be blocked, and can not continue to execute other **, the experience given to the user is that the whole program will be stiff, open the task manager will prompt that the program is not responding, the user thinks the program is dead, it will manually end the program, asynchronous call is not the same, after calling the func method, do not have to wait for the func to be executed, you can execute the other**, until the func is executed, the result is returned, If func provides an asynchronous method funcasync(), it can be called like this:

    private void a()

    private void funccompleted(int n)

    Asynchronous needs to be written to support, network transmission libraries generally provide asynchronous methods, such as socket programming, web services, AJAX, WCF, etc., some asynchronous is done by the same thread, and some asynchronous is different threads, so if you want to update the control in the function, it will prompt the error prompt of cross-thread access to the control.

    Changsha is extremely information technology****.

Related questions
17 answers2024-05-19

You can try this.

Plus, here's a lot more: >>>More

7 answers2024-05-19

Zero "Yuan Jian**, free full strategy! This problem, for friends who don't know how to build a website, does feel very headache! How long does it take to learn to do it yourself, at least 3 to 5 months to learn, right? >>>More

6 answers2024-05-19

If there is any compilation error, you can post a specific log information to see if it is an error.

9 answers2024-05-19

do while not

Output line. for i=1 to 3 >>>More

15 answers2024-05-19

Or is it a matter of logic when you write a program.

First, if then >>>More