Difference between Session and Querystring
Querystring
|
Session
|
Querystring is client side
state management technique.
|
Session is server side state management technique
|
Querystring data is page
specific i.e. can be accessed in that page only.
|
Session data can be accessed throughout the
session.
|
Querystring data is visible to
user and can be seen in browser url.
|
Session data is not visible to user
|
Data is not secured and can be
altered hence insensitive data is stored in querystring
|
Data is secured hence sensitive data such as user
information is stored.
|
Querystring has constraint of
Maxlength.
|
Session does not have such constraint.
|
Difference between Session and Querystring
Reviewed by NEERAJ SRIVASTAVA
on
11:10:00 PM
Rating:
No comments: