Explain the scenario where we go for inpro and outpro session?
Answer Posted / tanveer
web Application is statless ,no state is maintained between
browser ans server , many ways are there to maintain state
on server or/and clent ,session is one of the most
important object to maintain state on server side .
Session can be stored on three different physical space,
1)on the same location were the application run i.e. in the
same process in worker process. which is known as inproc
In which form authentication can work and session_end
function does work in global.asax file.
inproc is the fastest way ,
but it gets referesh when iis recycle or restarted and data
lost.
2) out proc is the another way to store session on another
location (server) .
3) sql server state session is storedon sql server data
table
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is __ requestverificationtoken?
What is the difference between client-side and server-side validations in webpages?
How to display validation messages in one control?
Which asp.net objects encapsulate the state of the client and the browser?
What is skin in asp.net?
How can we identify that the Page is Post Back?
What is a postback url?
Is session server side or client side?
Which platform does Microsoft .NET use for exchanging data between applications?
How you can return View from ASP.NET Web API method?
How do we access view state value of this page in the next page?
What are cookies in asp.net?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
What is the difference between exe and dll?
Which method do you use to enforce garbage collection in .net?