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 is the use of sessionstate tag in the web.config file?

Answer Posted / eduardo belmonte

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

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where web.config file is used?

1030


What are the elements of a website?

938


Which is the parent class of the web server control?

1005


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1876


What is a session government?

850


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

2582


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

1068


Is it right that ASP.NET Web API has replaced WCF?

925


Explain the advantages of caching?

941


What is the best Macanism to clear the Cache in asp.net

1175


Explain the difference between overriding and overloading?

951


What is a web farm?

940


Explain the difference between value type and reference type?

601


How do you declare static variable? What is its lifetime?

918


Explain the use of fragment caching.

1030