473,486 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Programmatically flush iis cache

Is there a way to flush the cache from a web service? basically i want to
force a cache flush if there was an underlying database change so that
subsequent calls would get new data...
Nov 18 '05 #1
3 5575
how a data service caches the data is determined by how its writer.. if you
are writing on... then just done cache anything...
if i misunderstood the question... please give more information on what
exactly is happening and what you would like it to do

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Kyle Brandon" <mo******@hotmail.com> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
Is there a way to flush the cache from a web service? basically i want to
force a cache flush if there was an underlying database change so that
subsequent calls would get new data...

Nov 18 '05 #2
I'm using WSE 2.0 to secure a web service. there's a token manager that is
called by wse to authenticate requests that come in. this token manager
talks to a database to get the current password. if a request is made and
authenticated it is then cached by wse. so if you then change the password
it will return the cached value. if we manually flush the cache then it
picks up the changes. i posted this under the webservices.enhancements but
didn't get any response there so figured i'd check here if anyone knows
about how iis caches items and how to flush this.

k.

"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:eo*************@TK2MSFTNGP09.phx.gbl...
how a data service caches the data is determined by how its writer.. if you are writing on... then just done cache anything...
if i misunderstood the question... please give more information on what
exactly is happening and what you would like it to do

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Kyle Brandon" <mo******@hotmail.com> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
Is there a way to flush the cache from a web service? basically i want to force a cache flush if there was an underlying database change so that
subsequent calls would get new data...


Nov 18 '05 #3
you might find something here
http://blogs.msdn.com/chriskeyser/ar...31/223797.aspx

http://www.google.co.uk/search?hl=en...er+cache&meta=

i think you have a wrong combination of words as a subject

good luck

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Kyle Brandon" <mo******@hotmail.com> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
I'm using WSE 2.0 to secure a web service. there's a token manager that is
called by wse to authenticate requests that come in. this token manager
talks to a database to get the current password. if a request is made and
authenticated it is then cached by wse. so if you then change the password
it will return the cached value. if we manually flush the cache then it
picks up the changes. i posted this under the webservices.enhancements but
didn't get any response there so figured i'd check here if anyone knows
about how iis caches items and how to flush this.

k.

"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:eo*************@TK2MSFTNGP09.phx.gbl...
how a data service caches the data is determined by how its writer.. if

you
are writing on... then just done cache anything...
if i misunderstood the question... please give more information on what
exactly is happening and what you would like it to do

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Kyle Brandon" <mo******@hotmail.com> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
Is there a way to flush the cache from a web service? basically i want to force a cache flush if there was an underlying database change so that
subsequent calls would get new data...



Nov 18 '05 #4

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

Similar topics

1
1563
by: Leo Muller | last post by:
I am impressed by the caching performance of .NET. However, there is one major obstacle that I haven't managed to solve yet. What I want to do is the following: I have a normal site, and a...
0
1328
by: ECathell | last post by:
I need to flush the ?cache? on a console application. I have supervisors who are allowed to override functions but then unauthorized users can simply arrow up through the inputs. I can not use...
10
3549
by: Peter Larsen [] | last post by:
Hi, Is is possible to programmatically flush all opened files ?? BR Peter
0
1703
by: SharpSmith | last post by:
hi i have a strange problem with OutPut cache working fine on development box and not working on production server background : @outputCahce directive is fine, but wanted to make centralized...
4
5640
by: | last post by:
Hi all, I want to create a method that does the following: 1) Programmatically instantiate a new XmlDataSource control 2) For each file in a named directory, make a "FileSystemItem" element 3)...
4
2696
by: Arun Srinivasan | last post by:
I've been trying to tune this complex sql that uses the 'exists' clause. It is damn slow, even though the tables are not big and I have indexes on the columns in the sql. Currently I am trying...
2
2430
by: David | last post by:
Hello, I would like to know how to post form data programmatically. The idea is to get the intranet web page, programmatically entre the username and password in a login form, post it and be...
0
1873
by: Ian | last post by:
Patrick Finnegan wrote: Yes. It doesn't matter where you execute the statement from. Is your question of "how do I check" asking how you check whether it works when executed from a client? ...
2
8920
by: Damir | last post by:
Hello! I have noticed that after (sucessfully) executing the command: FLUSH PACKAGE CACHE DYNAMIC the dynamic SQL statement cache is not completely cleared (some of the dynamic SQL statement...
0
7175
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...
0
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.