![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello, The Cache object is restricted to being used only within an application running on a single machine. Therefore, I think Cache.Remove() only remove cached objects on one server. Luke |
#4
| |||
| |||
|
|
that's correct -- Regards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc, Amazon.com etc "[MSFT]" <lukezhan (AT) online (DOT) microsoft.com> wrote in message news:roKHI%230hFHA.944 (AT) TK2MSFTNGXA01 (DOT) phx.gbl... Hello, The Cache object is restricted to being used only within an application running on a single machine. Therefore, I think Cache.Remove() only remove cached objects on one server. Luke |
#5
| |||
| |||
|
|
Hello, The Cache object is restricted to being used only within an application running on a single machine. Therefore, I think Cache.Remove() only remove cached objects on one server. Luke |
#6
| |||
| |||
|
|
Thank you very much for your response. This explains a lot. Do you know where I could find some information, or possibly sample code, that would clear the Cache for all servers in the cluster. The only way I can think of is to actually run Cache.Remove() on each server. That would force me to find a way to make a request to each server. It seems like there must be a more elegant solution. "[MSFT]" wrote: Hello, The Cache object is restricted to being used only within an application running on a single machine. Therefore, I think Cache.Remove() only remove cached objects on one server. Luke |
#7
| |||
| |||
|
|
so how to easy migrate asp.net project that uses cache and session objects from single server to cluster servers? "Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc> wrote in message news:eUP6RJ7hFHA.1248 (AT) TK2MSFTNGP12 (DOT) phx.gbl... that's correct -- Regards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc, Amazon.com etc "[MSFT]" <lukezhan (AT) online (DOT) microsoft.com> wrote in message news:roKHI%230hFHA.944 (AT) TK2MSFTNGXA01 (DOT) phx.gbl... Hello, The Cache object is restricted to being used only within an application running on a single machine. Therefore, I think Cache.Remove() only remove cached objects on one server. Luke |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |