How many bytes are transferred from server to the page at postback?

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Hi

asp.net 2.0

I'm wonder how to see how many bytes are transferred from the server to the
browser window at each postback?

any suggestions?
 
Hi

asp.net 2.0

I'm wonder how to see how many bytes are transferred from the server to the
browser window at each postback?

any suggestions?

A postback submits the content of the <form> back to the page itself.
It means when you have a webform with a textbox TextBox1 and a button
Button1 ASP.net submits the name of controls (TextBox1, Button1) and
their values. Plus, hidden controls and their values such as
__EVENTTARGET and __VIEWSTATE and others (click on View Source in the
browser to see what hidden controls were generated by ASP.net within
the <form> tag). So, the size of unecrypted Content-Type in bytes will
be the length of the following string sent to the server
TextBox1=test&Button1=Button1& __EVENTTARGET=&
__VIEWSTATE=verylongstringhere...

You can see it very well if you install Fiddler from http://www.fiddler2.com
 
Back
Top