Home > Archive > microsoft.public.cert.exam.mcsd > April 2004 > asp.net question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author asp.net question
Andrew

2004-04-21, 10:24 am

ViewState is posted back (round tripped) to the
Server/Browser and the data is contained in a hidden
control. SessionState is stored on the server and is not
posted back (unless it is required to be displayed of
course ). You must consider issues such as HTML
payload, security, Server loading, data type (ie
Viewstate is serialised and best suited for 'simple' data
types cf SessionState which can handle any .Net datatype.

Both are browser independent.

That's about all I can recall,

Andrew

>-----Original Message-----
>does anyone know the diffrance between
>
>ViewState["variable"]
>
>and
>
>Session["variable"]
>
>and when to use each of them
>?
>
>.
>

Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net