473,387 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to share Cache between applications

Hi,
I would like to share cache information among different
applications(ASP.NET applications with its own
virtual directories) in IIS 6.0.As the Cache is per
application basis,how can I achieve this?
I know web services is an option but I security may be an
issue.
Any help is appreciated.
Thanks,
Marshal Antony

Nov 17 '05 #1
4 2697
Basically, you can't. Application Cache is specific to the machine on which
the app is running. What you CAN do is to store "global" information in a
database, such as SQL Server.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.

"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:0a****************************@phx.gbl...
Hi,
I would like to share cache information among different
applications(ASP.NET applications with its own
virtual directories) in IIS 6.0.As the Cache is per
application basis,how can I achieve this?
I know web services is an option but I security may be an
issue.
Any help is appreciated.
Thanks,
Marshal Antony

Nov 17 '05 #2
Kevin,
Thanks for your reply.
I need to share Cache between applications in a
single machine only not in multiple machines.
As the Cache in each application in the same machine is
different,can we design a mechanism where all the
applications can read from a common cache in the
same machine?.This will help because for
example if I want to share Customer information among applications in
the same machine I need to store it
in only single cache as a dataset so that I can save memory.
Thanks in advance for your comment on this.
Marshal


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #3
Hi Marshal,

Again, I think using a database to store such "shared" data would be the
best approach. You can't cross Application boundaries, and that memory space
is all that will be available to each Application.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.

"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:ee**************@TK2MSFTNGP09.phx.gbl...
Kevin,
Thanks for your reply.
I need to share Cache between applications in a
single machine only not in multiple machines.
As the Cache in each application in the same machine is
different,can we design a mechanism where all the
applications can read from a common cache in the
same machine?.This will help because for
example if I want to share Customer information among applications in
the same machine I need to store it
in only single cache as a dataset so that I can save memory.
Thanks in advance for your comment on this.
Marshal


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #4

Kevin,

Thanks for your opinion on this.
I agree database is the best way to go as I can't cross application
boundaries.
Thanks again,
Marshal


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Alex | last post by:
Hi all, We're looking at a vendor who uses the InterSystems Cache Database Platform, but our IT department has zero experience with this system. This software package will have a pivotal and...
0
by: Marshal Antony | last post by:
Hi, I would like to share cache information among different applications(ASP.NET applications with its own virtual directories) in IIS 6.0.As the Cache is per application basis,how can I achieve...
4
by: Zeljko | last post by:
Hi, I was playing with the cache class (caching data, not fragments or pages). It seems to be a very usefull feature, but I didn't manage to find an explanation on how it works behind the scene....
2
by: Sam-I-Am | last post by:
Hi There I have multiple asp.net web apps that all make use of a common set of sql data. I currently have each application cache this data using the cache api. As the data is same for all...
4
by: Quentin Huo | last post by:
Hi: I have two web sites in my IIS. I want them to share or use one set of classes that I created, because they have same functions that the classses provide. And maybe in the future I will...
5
by: Bill | last post by:
I have a asp.net application that shares DLL's with some backend vb.net programs. In my test environment everything works like a champ. When I need a DLL I point in to the project, do the build and...
5
by: Joe | last post by:
I have an application which runs in a non-secure environment. I also have an application that runs in a secure environment (both on the same machine). Is there any way to share the session data for...
6
by: tendim | last post by:
G'day group. Currently our organization us using VB6 based applications, and I am trying to push forward and migrate some of the smaller things to VB.NET, eventually migrating all applications...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.