Results 1 to 6 of 6

Thread: Data transmission method in ASP.Net

  1. #1
    Join Date
    Feb 2010
    Posts
    796

    Data transmission method in ASP.Net

    Hi all,

    I am a web programmer in one company. I built a Web pages that are stateless, the server each time the user requests that come from different, so the state variables in a row on the same page or between multiple requests on the page jump will not be retained. Using ASP.NET design and development of a Web system encountered an important question is how to ensure that the data between the page proper, safe and efficient delivery, Asp.net the state management offers a variety of technologies to address the preservation and transmission of data problems. So i want to know that Data transmission method in ASP.Net. Please provide some information. Thanks.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Data transmission method in ASP.Net

    Asp.net use QueryString method that is also called the query string, this method to pass the data to be attached to the web page address (URL) to pass behind. If the page A.aspx Jump to page B.aspx, can be Request.Redirect ( "B.aspx? Parameter name = parameter value") method, you can also use the hyperlink:, after the jump page, the page is available in the target Ruquest [ "parameter name"] to receive parameters. QuerySting method has the advantage of using simple, do not use server resources; drawback is that the value passed will appear in the browser's address bar, there was a risk of tampering can not pass an object, and only when the requested page through the URL query string before is feasible.

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

    Data transmission method in ASP.Net

    I will give you one information that hidden field will not be displayed in the user's browser, usually on the page by adding a hidden control, interact with the server to assign values to hide the controls and submitted to the next page. Hidden field can be any stored in Web pages and Web-related information repository. Use hidden field into a numeric value to use: hidden controls. Value = value, value of time out to receive: Variable = hidden controls. Value. Using the hidden field has the advantage of simple, hidden field is a standard HTML controls, does not require complex programming logic. Check and reply.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Data transmission method in ASP.Net

    Also ViewState from ASP.NET page framework for the management of a hidden form field. When the implementation of an ASP.NET page, the page ViewState surface values and all the controls will be collected and formatted into an encoded string, and then was assigned to the hidden form field value property. Use ViewState to pass data is available: ViewState [ "variable name"] = value used in collecting data: Variable = ViewState [ "variable name"]. The advantages of using the ViewState is multiple requests on the same page between the auto-retention values, without server-side resources to achieve a simple, view the value of the state through the hash calculation and compression, and encoding for Unicode implementations, their safety should be than the use of hidden field; drawback is that because the ViewState is stored in the page itself.

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

    Data transmission method in ASP.Net

    You can also use Cookie for data transmission. Basically it can be passed between pages a small amount of information can be stored in a text file, the client can also be stored in the client's memory. Cookie method is suitable for storing small number of pages of information often changes, such as a landing site had to save login user name, in order to facilitate user input, as well as in a number of user-defined project to save the user's personalized settings. Best of luck.

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

    Data transmission method in ASP.Net

    You can also use session objects that can be used to store the need to maintain dialogue with the specified information, different clients generate different Session objects. Session is used to store a specific short-term information in a separate session. Session and the format to use the same Application. Its advantages is that easy to implement, and provide high security and persistence, can cope with and supporting the process to restart IIS to restart, you can use the multi-process. Best of luck.

Similar Threads

  1. GoFlex Home network drive is giving very slow data transmission rate
    By Kh@LnaYak in forum Networking & Security
    Replies: 8
    Last Post: 05-12-2011, 03:45 PM
  2. Data transmission in mobile
    By Calan in forum Portable Devices
    Replies: 4
    Last Post: 04-02-2011, 05:35 PM
  3. High speed serial data transmission system
    By Muwafaq in forum Networking & Security
    Replies: 5
    Last Post: 25-03-2010, 04:29 AM
  4. Data Transmission on the Internet in PHP
    By NIcaBoy in forum Software Development
    Replies: 5
    Last Post: 05-03-2010, 01:09 AM

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,714,105,932.85204 seconds with 17 queries