Link to home
Start Free TrialLog in
Avatar of praveen1981
praveen1981Flag for India

asked on

how session maintained in state service

Hi
As I know that ASP.NET State Service will maintain Session Data for webfarming, but According to my Knowledge the service doesn't have any table structure to hold the data, then where does it stores the data, If i restart the service how does the data will lost.
can any one please suggest,

Avatar of Eyal
Eyal
Flag of Israel image

in order to use session in web farm you will need to use out of process session

see
http://msdn.microsoft.com/en-us/library/h6bb9cz9%28v=vs.71%29.aspx
Avatar of praveen1981

ASKER


where does this session will be stored in the service, as i know that service doesn't have any table strucutre to store the data, so, then where it stores and how does it maintain the link with that data.
you should point it to database
Hi

If we point it to database then it will become storing session in database, here I want to know how the session is storing in ASP.NET State Service,
as I know that it will be serialise the data and stores, but where exactly it stores , is it stores the data in hard disk and maintain any references ?
well read this
http://idunno.org/articles/277.aspx

if you will open the sql you will know exactly how it stores and manage the state in the sql server schema
Hi

you are saying about sqlserver session, i am talking about asp.net state service, i know about the sqlserver session, but i want to know about the state service session, how the state servive will maintain the session , how does it contains the reference with data , where exactly the data will be stored in the memory, Please clarify this. ?
                         Many thanks.
ASKER CERTIFIED SOLUTION
Avatar of Eyal
Eyal
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thanks , it solved.