Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the disadvantages of view state / what are the
benefits?

Answers were Sorted based on User's Feedback



What are the disadvantages of view state / what are the benefits?..

Answer / suresh

Advantage:

1) Maintains the state for autopostback event.
2) Easy to use.
3) No ServerSide resources required.
4) Passed into HiddenFied.
5) Basic enncryption algorithm is applied when passing the data.

Disadv:

1) When large data is there then perfomance is issue.
2) Good Hacker can get the data very easily.

Is This Answer Correct ?    13 Yes 3 No

What are the disadvantages of view state / what are the benefits?..

Answer / sreyasmn

Advantages:
- No server resources required
- simple implementation
- automatic retention of page and control state
- Enhanced security features. The values in view state are
hashed, compressed, and encoded for Unicode implementations.

Disadvantages - Because the view state for a given page
must be kept on the server, it is possible for the current
state to be out of synchronization with the current page of
the browser, if the user uses the Back feature on the
browser to go back in the history.For example, suppose the
user goes to Page 1, then clicks a button to go to Page 2,
then presses Back to return to Page 1. The current page on
the browser is now Page 1, but the current state on the
server is that of Page 2. Advantages - On ordinary Web
Forms pages, their view state is sent by the server as a
hidden variable in a form, as part of every response to the
client, and is returned to the server by the client as part
of a postback. However, to reduce bandwidth demand when
using mobile controls, ASP.NET does not send a page's view
state to the client. Instead, the view state is saved as
part of a user's session on the server. Where there is a
view state, a hidden field that identifies this page's view
state is sent by the server as part of every response to
the client, and is returned to the server by the client as
part of the next request.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What are the data types is possible to store in session? and can we store dataset in session?

4 Answers   eMids,


Code for scolling in gridview

1 Answers   TCS,


What is an il?

0 Answers  


What is state management in asp.net and define Client-side state management and Server-side state management?

2 Answers   TVS,


Which object wraps the state or data of a user?

0 Answers  


What is cross page posting in asp net?

0 Answers  


Define page output caching?

0 Answers  


what is managed and unmanaged code?

4 Answers   Microsoft,


What is shadowing?

2 Answers   Syntax Softtech,


what is assembly?

4 Answers   Microsoft,


What is the parent class of all the web server control?

0 Answers  


what is wpf and wcf in .net explain with an example?

2 Answers  


Categories