Method for transmitting values ​​between webpages

zhaozj2021-02-16  101

How to pass a value from one web page from one page to another from a web page?

Usually so for a few more

a.

http://localhost/test.aspx? Name = [You want to pass the value]

b.

Specify Target C with Form's Submit ().

Cookies d.

Session

ASP.NET borrows the static global global situation of the Page class is also a kind

a. Flexible but with 255 characters limit, and the Chinese may have a problem (this will be discussed later).

c. Restrictions on client settings. d. Service is overhead resource, and there are problems such as expired sharing.

Anyway, there is excellent advantages, to integrate them.

What I want today is another way may not be practical, everyone is watching. :)

code show as below:

SET WIN = WINDOW.OPEN ("Test.aspx") While Win.Document.ReadyState = "Loading" 'Do Nothing But Waiting Page Loading Wend Win.Document.all ("txtname"). Value = "Test" txtName is

Test.aspx

If it is a Test.htm effect, you can pass a few hundred k text.

转载请注明原文地址:https://www.9cbs.com/read-10697.html

New Post(0)