Re: savePageInPermanentCache for sessions?
Re: savePageInPermanentCache for sessions?
- Subject: Re: savePageInPermanentCache for sessions?
- From: Chuck Hill <email@hidden>
- Date: Mon, 26 Feb 2007 11:06:25 -0800
Yes. The _size_ is application wide. Note that this is the size in
_each_ session, not the total. Each session has its own permanent
page cache which goes out of scope / is garbage collected with the
session.
Chuck
On Feb 26, 2007, at 10:27 AM, Gaastra Dennis - WO Lists wrote:
Hi Mark,
Are you sure; that would be great. But then the documentation is
not clear about this. Can anybody confirm this?
With Kind Regards,
Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]
Chief Technology Officer,
On 26-Feb-07, at 5:35 AM, Mark Gowdy wrote:
Ohh. I didn't realize that WOSession already has a
savePageInPermanentCache method.
It suspect that application.permanentPageCacheSize() tells it how
many pages to store for EACH session, and not the total across ALL
sessions.
I also suspect that when a session terminates, that they will get
Garbage Collected.
Mark
On 25 Feb 2007, at 20:06, Gaastra Dennis - WO Lists wrote:
Dear List,
We use 6 level nested frame pages. As such, a method like
"session.savePageInPermanentCache" is needed to prevent false
backtracking errors. However, this method is application wide,
and may not be useful if more than
application.permanentPageCacheSize()/6 sessions exist. Also if a
session has terminated, there is no need for these pages to still
reside in such cache.
So: is there some kind of "permanent cache" for a session besides
the regular one? Has anyone implemented something like this.
Thank you for your answers.
With Kind Regards,
Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]
Chief Technology Officer,
WEBAPPZ Systems, Inc.
HQ: (+1) 604.921.1333
Fax: (+1) 604.921.4313
Cell: (+1) 604.787.2532
Email: email@hidden
Web: www.webappz.com & www.1tracker.com
<logo.jpg>
<innovation.jpg>
This message contains confidential information and is intended
only for the individual named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your
system. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489
Marine Drive, West Vancouver, BC, CANADA V7T 1B8, www.webappz.com
<logo.jpg>
<innovation.jpg>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden