Monday, December 10, 2007

Differences bw Session and View State::::::::::::::::::::::::::::::::

Session, View State both stores state information. This is particularly of importance as HTTP is generally stateless what this effcetively means is it does not link requests from same user.

View State is
Page Specific,
control Specific,
Simple Stored in hidden field,
No Server Resource is consumed,
Good for Web Farm,
However page load will slow down, Can be tampered, Not accessible from other pages

Session is Stored in Server. (Potentially can eat up lot of resource)
Accessible from other pages

No comments: