Page pass value in ASP.

Source: Internet
Author: User

Tag: the operation delivery. NET ASP/server Rect cannot SSI resource

Summarize some of the commonly mentioned page-passing values in asp:

1, QueryString

Pros: Simple, low-security numeric and text-transfer values

Cons: Secure bottom, data exposed in URL, cannot pass object

2. Session

Pros: Unlimited size, can pass objects

Cons: Consuming server resources, easy to lose

3, Application

Pros: Unlimited size, can pass objects, consume less server resources

Disadvantage: Easy to be mistaken operation, single user generally does not apply

4. Cookies

Benefits: Store user status on client side and across pages

Cons: Low security, easy to forge

5, Server.Transfer

Advantages: Server-side page jump, reduce the request, you can upload the previous page of various types of values to the new page, thus hiding the data to improve security

Disadvantage: The request URL will not change, resulting in the use of a relative path after the picture, hyperlinks will lead to error points, the same server side of the same site

6, Response.Redirect

Advantages: The client jumps, can jump any path

Cons: Data is limited to 2KB, and server two session efficiency is slightly lower

  

Page pass value in ASP.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.