-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: G�rard EDMOND
Message 1 in Discussion
Hope someone could help me.
My task is to manage cache for an entire application.
I have a class library which accesses a webservice and stores the result in session as
:
HttpContext.Current.Session['MyCacheCode'] = result from webservice;
The next time the user accesses the same method, an verification is made to session
object and if it exist, the value from the session is returned, if not an access to
the webservice is made.
By this method, I thought that unnecessary access to the webservice can be avoided.
The methods in this class is accessed from an webapplication.
Now my problem is that when I access those methods using a windows Application (for
example some scripts which uses the same methods and cache technique), it doesn't work
which is quiet normal (I suppose that there is no session state for windows
application).
Anyone has an alternative idea to do this or how to manage cache which is accessible
by both windows and web application.
Thanks in advance.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]