EcoSpaceStrategyHandler.GetEcoSpace
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



EcoSpaceStrategyHandler.GetEcoSpace Expand / Collapse
Author
Message
Posted 2010-08-03 12:18:09


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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)?
Post #5454
Posted 2010-08-05 18:29:24
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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
Post #5464
Posted 2010-09-03 08:32:38


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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?
Post #5518
Posted 2010-09-03 11:52:03
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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
Post #5521
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom, PeterMorris

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 12:07

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0,219. 8 queries. Compression Disabled.