|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-11-23 02:03:59
Posts: 80,
Visits: 730
|
|
| Dear all, I am using Eco 5 with ASP.NET and found that EcoSpaceStrategyHandler.GetEcoSpace always return an active ecoSpace to me. I wonder if there is any way to get an inactive ecoSpace instead (i.e. do not try to make any connection to server/db)?
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
Do you have it set up to use a session eco space "if dirty"? If so that is the cause, you are returning a dirty ecospace so it is being stored in a session.
====
Pete
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-11-23 02:03:59
Posts: 80,
Visits: 730
|
|
| Thanks Peter, I have left the corresponding properties as default values, i.e. I think it is ifDirty, that explains why I get an Active ecoSpace. Since I don't need to keep the changes of the ecoSpace, I think I could set it to Never. Just wonder what are the advantages/disadvantages?
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
The advantages/disadvantages I believe are outlined in the getting started docs
====
Pete
|
|
|
|