4
Answers

windows migration from 2003 service pack2 to 2012 R2

Photo of enaya chauhan

enaya chauhan

7y
239
1

1) We have created some scheduled tasks supposed to run on a frequency of every 15 minutes, but they are not running consistently. The tasks stops working at any moment of time.

2) We have mapped a network drive. We want to use some file from that network drive as an action point for the task scheduler, but the drive is not visible in file explorer.
 
Please Advice
Thanks in advance 

Answers (4)

0
Photo of Gohil Jayendrasinh
NA 5k 2.8m 13y
if you want to store some information in  memorry then use caching.
http://weblogs.asp.net/mikaelsoderstrom/archive/2010/07/06/use-caching-in-asp-net-web-pages.aspx
0
Photo of Gary King
NA 83 159.3k 13y
Thanks for the response Lion, but I am still very unsure about caching....

The webforms contain confidential financial information and I have been asked to ensure that no data is cached on the users' browser. So I guess that I need to completely disable caching, but I am not sure of....

1. How to ensure there is no caching

2. If there is no caching, then would this affect the webform performance and/or functionality? (We dont use jQuery AJAX)
0
Photo of Gohil Jayendrasinh
NA 5k 2.8m 13y
For Page lavel caching
1.
<%@ OutputCache Duration="60" VaryByParam="None" %>

in web config

<outputCacheSettings>
  <outputCacheProfiles>
    <add name="CacheProfile1" duration="60" />
  </outputCacheProfiles>
</outputCacheSettings>

this will help you
http://msdn.microsoft.com/en-us/library/06bh14hk(v=vs.71).aspx
http://msdn.microsoft.com/en-us/library/ms178606.aspx

2.

if you use jQuery ajax
than
$.ajax({
  url: "test.html",
  context: document.body,
  cache:false, //it will force requested pages not to be cached by the browser.
  success: function(){
    $(this).addClass("done");
  }
});