1
Answer

How to access Application object from class?

ben.kimball

ben.kimball

20y
1.6k
1
I've added a separate class to my ASP.NET project. From that class I am unable to see the Http Application object. I'm betting that I'm missing the correct "using xxxx;" but not sure which one I am missing. I've tried adding "using System.Web.SessionState;" to the class, but that doesn't do it.
Answers (1)
0
Zoran Horvat

Zoran Horvat

NA 5.7k 516.3k 13y
You can create framed Web page. Then in the frame which should depict the latest feed contents you load HTML which automatically reloads every, say, 30-60 seconds (don't do it more often unless you're absolutely sure that client can refresh contents in time much shorter than 1 second anywhere in the world).

Make sure that this HTML is small and loads very quickly or otherwise users will have discomfort looking at the page which spends significant time in incomplete state.

If you can't load it quickly then make a background process which does the heavy job processing latest feed state, and simply creates fixed HTML which would then quickly be presented to users on every reload.

Zoran
Accepted
0
Jiteendra Sampathirao

Jiteendra Sampathirao

NA 6.9k 1.5m 13y

Hi,
use AJAX to refresh the specific part of the page.........