SessionState - type of sessionstate and when and how to use
Answer / alb.shah
SessionState tag is used to define session attributes.
One very important is Mode which can have values: "state
server", "SqlServer", "InProc"; depending how you want to
preserve session state.
"State server" is used if you want the state to be
preserved in other server.
"SqlServer" is used if you want the state to be preserved
on a SQL database.
"InProc" is used if you want the state to be preserved in
the same process where the asp.net page is running.
Other attributes that are also included for the
SessionState tag are: ConnectionString,
SqLConnectionString, userId, password, cookiless, tiemout.
if the session state is going to be preserved in other
server, or can be ""SqlServer" if session state is going to
be preserved in a SQL database
Configuring session state: Session state features can be
configured via the <sessionState> section in a web.config
file. To double the default timeout of 20 minutes, you can
add the following to the web.config file of an application:
|Is This Answer Correct ?||3 Yes||0 No|
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
How much data (Max K) can go into a QueryString?
How you will handle session when deploying application in more than a server?
Differentiate globalization and localization.
What is the difference between User Controls and Master Pages
What is a reflection?
How to unit test Web API?
please give a brief knowledge about these events ? page_render() page_prerender() page_unload page_loadcomplete page_preinit
What is the difference between client-side and server-side validations in webpages?
What is the difference between dynamic SGA and static SGA?
Difference between Dataset and DataReader ?