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...


SessionState - type of sessionstate and when and how to use
it



SessionState - type of sessionstate and when and how to use it..

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:
<sessionState
timeout="40"
/>

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

0 Answers  


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

0 Answers  


How are sessions stored?

0 Answers  


What is the difference between ASP.NET Webforms and ASP.NET MVC?

0 Answers  


What would be salary for 6+ years of experience in ASP.NET in different metro city in india?

4 Answers  


What are the contents of cookie?

0 Answers  


What Name space does the web page belon in the .net framework class hierarchy?

1 Answers   L&T, Wipro,


what is the jit? what is the type of jit and purpose of it>

2 Answers   Honeywell,


What is the difference between “Web.config” and “Machine.Config”?

0 Answers  


extensibility in asp.net2.0

0 Answers  


Can we make a class with class with same;suppose public class abc { public class abc { } }

1 Answers  


What is HTTPModule and HTTPcontext? What is the use of each?

0 Answers   Accenture,


Categories