----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: G�rard EDMOND Message 1 in Discussion Hope someone could help me.<o:p></o:p> <o:p> </o:p> My task � To manage cache for an entire application.<o:p></o:p> <o:p> </o:p> I have a class library which accesses a webservice and stores the result in session as :<o:p></o:p> <o:p> </o:p> HttpContext.Current.Session[�MyCacheCode�] = result from webservice;<o:p></o:p> <o:p> </o:p> 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.<o:p></o:p> <o:p> </o:p> By this method, I thought that unnecessary access to the webservice can be avoided.<o:p></o:p> <o:p> </o:p> The methods in this class is accessed from an webapplication.<o:p></o:p> <o:p> </o:p> 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).<o:p></o:p> <o:p> </o:p> Anyone has an alternative idea to do this or how to manage cache which is accessible by both windows and web application.<o:p></o:p> <o:p> </o:p> ----------------------------------------------------------- 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]
