Under what circumstances can a value passed by an asp to the next page persist on the next page?

Updated on technology 2024-04-11
25 answers
  1. Anonymous users2024-02-07

    Cookies can be passed to the page, cookies are written, and the cookie expires when left on the page, but if there is no condition that the value is invalid, the value can be passed by url.

  2. Anonymous users2024-02-06

    If you use post or get to pass it as long as it is not closed, if you use session to pass it to see the default expiration time of the session set is 20 minutes, if you use apliction to send the server as long as it does not restart, and all users are the same, if you use cookies as long as the cookie does not expire it will not disappear.

  3. Anonymous users2024-02-05

    The easiest to use? It's worth it.

    For example: **

    dim id

    id = 1

    Question mark passes. **》dim id

    id = trim("id"))

    Successful transfer! ")

  4. Anonymous users2024-02-04

    There are generally three ways to transfer values: URL connection.

    session

    You can also use cookies, which are actually written to a file.

  5. Anonymous users2024-02-03

    Receive this text in.

    string searchtext = "search_text"];

    bind(searchtext);

    public void bind(string searchtext)

    That's it.

  6. Anonymous users2024-02-02

    It's permanently useful with post!

    You can see the parameters in the IE address bar with get, but you can't see them with get.

  7. Anonymous users2024-02-01

    session and you can use it to achieve your goals.

    It can also be cleared from pages that are not needed, which is quite convenient to use.

  8. Anonymous users2024-01-31

    There are two ways to send the request: the POST mode and the GET mode

  9. Anonymous users2024-01-30

    The value transfer between asp pages requires the same parameter, and then the form is used to submit another page, and there is another page of ** execution

  10. Anonymous users2024-01-29

    In urlencode, + is a space and %2b is used for the + sign.

    Such as c%2b%2b senior programmer.

    You can also use the asp's urlencode to encode and pass the value.

    Such as:">

  11. Anonymous users2024-01-28

    <%"You typed in:"&"info"))%

    Do you see this is the effect you want?

  12. Anonymous users2024-01-27

    Generally, such a situation is not well considered. Search the store.

    asp file.

    "The value received.

    There is nothing wrong with that.

    Double-check and use request("oper"Try it.

  13. Anonymous users2024-01-26

    Landlord, why don't you have a form?

  14. Anonymous users2024-01-25

    Output the a from the previous page first to see if there is a value.

  15. Anonymous users2024-01-24

    1. First, add two web pages to the project, and give them different names for web page 1 and page 2.

    2. Drag and drop a label control in the first page and modify its text attribute to "Magic is going to happen", then click on the blank space to enter the load event in the first page and write the following**.

    3. Open the design view of the second page and add a label control.

    4. Click on the blank space in the design view of the second page to go to the load event and write the following**.

    5. Finally, browse the first page in the browser, and then browse the second page in the browser == The effect is as shown below.

  16. Anonymous users2024-01-23

    It is generally said that the parameters are said hello after the connection, for example.

    Or in passing"id").tostring() or request["id"].tostring().

    You can also pass the session parameter session["abc"]=;

    Other pages can directly obtain the passed value by reading the session, such as:"abc"];

  17. Anonymous users2024-01-22

    It depends on what you do.

    If it is a general value, you can use session["name"] = specific data this method. If you want to pass an ID to the second page, and you want to retrieve this ID and read all the information about this ID, then you can't use session["name"] = specific data. It should be used on the first page"?

    id = the id you want to pass")。。After skipping to the second page, use int id = request["id"]..Based on the ID value of the first page, use SQL statements to search for all the information about the ID on the second page.

  18. Anonymous users2024-01-21

    There are several ways to do this.

    1.You can use the form to pass the value with request2You can also use the connection to pass the value directly on page 1: Connection.

    Page 2: string uname=request["uname"]3.The page turns to the Values page"Page?

    uname=xx"Page 2: string uname=request["uname"]4.There is also the session value of 2l.

  19. Anonymous users2024-01-20

    There is no requirement for safety, just.

    content); Pass the content on.

    And then it says:

    string str=request["id"].tostring();

    Never use session again

  20. Anonymous users2024-01-19

    Page 1 session[.]"name"] = specific data.

    For example, session["name"]=“aaaa”;

    Page 2 specific data class.

    Type Variable name = (specific data type) session["name"] e.g. string a=(string)session["name"];

  21. Anonymous users2024-01-18

    A page requires a name in the input box

    For example, page b can be output with the following **.

    power(cint("num")))

  22. Anonymous users2024-01-17

    Send page:

    Receiving page:"value"];

  23. Anonymous users2024-01-16

    m2..asp

    with two hidden text boxes to store.

    Don't use content as a table field.

  24. Anonymous users2024-01-15

    Is it asp or yes? There are generally two ways to pass the value of this page, one is in the form of querystring, the other is in the way of session, the one upstairs is the way to pass the value in the form of querystring, and the other is the method of session"mm"]=mm,"nn"]=nn, and then take the value on the page you need to use. string mm="mm"].

    tostring(),nn in the same way,It depends on the application range of the value you want to pass.,Generally, the system login is to choose to save the session.。

  25. Anonymous users2024-01-14

    index, and then take these two values inside the index.

Related questions
6 answers2024-04-11

First of all, the maximum age of military, political, logistical, and equipment officers in combat units in peacetime is as follows: >>>More

8 answers2024-04-11

Let's calculate how long it will rain under the lowest clouds Stratocumulus: low-level shingle-like clouds that usually cover the entire sky. The clouds are thin and sunlight can pass through. >>>More

20 answers2024-04-11

In the process of telling others about their troubles, on the one hand, they re-strengthened their negative emotions, and on the other hand, they passed on this bad emotions to the other party, which is not a good thing for others or themselves, so I hope that I can be quiet and digest and solve it.

35 answers2024-04-11

Maybe that person is not you, or he will tell you very happily, in fact, you don't need to know so much, after all, it is the previous relationship, as long as he can love you alone now.

26 answers2024-04-11

True love is acceptance, not endurance; It is support, not domination; It's a condolence, not a question. >>>More