Ok, I'm must be an dummy, there are tons of examples which none of which I
can get to work! I want to setup and refresh about (10) different cache
items. Most examples show this type of work being completed in the
global.asax but I can't get it to work. I move the code to a C# class, call
it from a webpage and it works fine. Am I trying to code this in the wrong
spot, i.e. global.asa. I am reading up on callback functionality this
evening but am wondering if the object goes out of scope how does it perform
a callback, sorry if that's a basic question.
Again, any help appreciated as I don't want to spend the weekend on this.
Thanks!
Jim Douglas 4 4042
Should be coded in global.asax.cs instead of global.asax ... Double click on
the global.asax file and hit F7 to get to the global.asax.cs
Hope this helps
Brian Delahunty
Ireland http://briandela.com/blog
"Jim Douglas" wrote: Ok, I'm must be an dummy, there are tons of examples which none of which I can get to work! I want to setup and refresh about (10) different cache items. Most examples show this type of work being completed in the global.asax but I can't get it to work. I move the code to a C# class, call it from a webpage and it works fine. Am I trying to code this in the wrong spot, i.e. global.asa. I am reading up on callback functionality this evening but am wondering if the object goes out of scope how does it perform a callback, sorry if that's a basic question.
Again, any help appreciated as I don't want to spend the weekend on this.
Thanks!
Jim Douglas
Thanks, duh, now thinking about it makes perfect sense! Thanks again!
On Sun, 7 Aug 2005 13:33:01 -0700, Brian Delahunty
<Br************@discussions.microsoft.com> wrote: Should be coded in global.asax.cs instead of global.asax ... Double click on the global.asax file and hit F7 to get to the global.asax.cs
Hope this helps
Brian Delahunty Ireland
http://briandela.com/blog
"Jim Douglas" wrote:
Ok, I'm must be an dummy, there are tons of examples which none of which I can get to work! I want to setup and refresh about (10) different cache items. Most examples show this type of work being completed in the global.asax but I can't get it to work. I move the code to a C# class, call it from a webpage and it works fine. Am I trying to code this in the wrong spot, i.e. global.asa. I am reading up on callback functionality this evening but am wondering if the object goes out of scope how does it perform a callback, sorry if that's a basic question.
Again, any help appreciated as I don't want to spend the weekend on this.
Thanks!
Jim Douglas
Your welcome. Gla dI could help.
--
Brian Delahunty
Ireland http://briandela.com/blog
"ja***********@genesis-software.com" wrote: Thanks, duh, now thinking about it makes perfect sense! Thanks again!
On Sun, 7 Aug 2005 13:33:01 -0700, Brian Delahunty <Br************@discussions.microsoft.com> wrote:
Should be coded in global.asax.cs instead of global.asax ... Double click on the global.asax file and hit F7 to get to the global.asax.cs
Hope this helps
Brian Delahunty Ireland
http://briandela.com/blog
"Jim Douglas" wrote:
Ok, I'm must be an dummy, there are tons of examples which none of which I can get to work! I want to setup and refresh about (10) different cache items. Most examples show this type of work being completed in the global.asax but I can't get it to work. I move the code to a C# class, call it from a webpage and it works fine. Am I trying to code this in the wrong spot, i.e. global.asa. I am reading up on callback functionality this evening but am wondering if the object goes out of scope how does it perform a callback, sorry if that's a basic question.
Again, any help appreciated as I don't want to spend the weekend on this.
Thanks!
Jim Douglas
I finally figured this out, the code would have to go into
global.asax, not the code behind page. Once I added
the code there all is fine! Thanks!
On Sun, 7 Aug 2005 13:33:01 -0700, Brian Delahunty
<Br************@discussions.microsoft.com> wrote: Should be coded in global.asax.cs instead of global.asax ... Double click on the global.asax file and hit F7 to get to the global.asax.cs
Hope this helps
Brian Delahunty Ireland
http://briandela.com/blog
"Jim Douglas" wrote:
Ok, I'm must be an dummy, there are tons of examples which none of which I can get to work! I want to setup and refresh about (10) different cache items. Most examples show this type of work being completed in the global.asax but I can't get it to work. I move the code to a C# class, call it from a webpage and it works fine. Am I trying to code this in the wrong spot, i.e. global.asa. I am reading up on callback functionality this evening but am wondering if the object goes out of scope how does it perform a callback, sorry if that's a basic question.
Again, any help appreciated as I don't want to spend the weekend on this.
Thanks!
Jim Douglas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Showjumper |
last post by:
If i use the cache class in the global asax file in the session sub, can i
override for an individual page that has content that will be changing more
frequently than the rest of the site? Would i...
|
by: Brian Vallelunga |
last post by:
I'm having a problem using the Cache object with asp.net. Here is what I
have:
1) I put something in cache and set its callback method.
2) The object times out after X minutes and calls the...
|
by: Promenade |
last post by:
Hi, everyone...
I want to avoid the user to use the navigator back button.
For that reason, I tried all the possible ways to set the Expires property
of the Response Object, but whatever I do, it...
|
by: Joe Fallon |
last post by:
I am trying to setup a cache that refreshes itself every hour. (My sample
code is for every minute so I can test it.)
I have found some examples that I thought worked but they all seem to fail....
|
by: Glenn |
last post by:
Hi,
I have a config XML file that I am using from the application cache. I have configured the entry with a remove callback to re-populate cache automatically when the XML file changes. All is...
|
by: NWx |
last post by:
Hi,
I' trying to implement a callback method when a cache object expires
I want to do this to automatically logout user after a timeout (for demo
purposes)
My thought is, when user logon,...
|
by: wavemill |
last post by:
This is my problem:
I have two page:
In my first page,i recover my data since my textbox where i inside in my
dataset.
In the second, i have a label where i insert the data of my dataset.
To...
|
by: Jim Douglas |
last post by:
Ok, I'm must be an dummy, there are tons of examples which none of which I
can get to work! I want to setup and refresh about (10) different cache
items. Most examples show this type of work being...
|
by: Hoss |
last post by:
Hello- I have the following Javascript code
function Obj()
{
obj.squares = new Array();
}
Obj.prototype.Load= function(xdoc)
{
var goat = "head";
xdoc.ProcessNodes("squares/square",...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| |