Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Cache in old ASP
Hello.

Could someone tell me the way(s) of doing cache in old ASP pages?

What i really wanted was to keep in cache for some time the HTML generated
by an ASP page (something like the "@OutputCache" directive of .NET).

Thank you in advance.
Jose Marciano


Report this thread to moderator Post Follow-up to this message
Old Post
Jose Marciano
10-27-04 08:55 PM


Re: Cache in old ASP
I have not heard of @OutputCache (remember, this is not a .NET group).

Are you talking about buffering the response? If so, you may need to use
Response.Buffer. Note, however, that this is True by default anyway on IIS 5
and higher.
http://msdn.microsoft.com/library/e...vbom_resopb.asp

Paul

"Jose Marciano" <Jose Marciano@discussions.microsoft.com> wrote in message
news:E0B858A1-F2F6-423A-9432-834A7B61E599@microsoft.com...
> Hello.
>
> Could someone tell me the way(s) of doing cache in old ASP pages?
>
> What i really wanted was to keep in cache for some time the HTML generated
> by an ASP page (something like the "@OutputCache" directive of .NET).
>
> Thank you in advance.
> Jose Marciano
>



Report this thread to moderator Post Follow-up to this message
Old Post
Paul Baker [MVP, Windows - SDK]
10-27-04 08:55 PM


Re: Cache in old ASP
If there is not a great deal of HTML involved you can put it into an
Application variable and set another variable with a timestamp. When the ASP
page is requested grab the text from the application variable or re-generate
it based on the timestamp.

Or write the html out as an html file and put timestamp in an application
variable. If the html is not too old then redirect to the html page
otherwise re-direct to an asp page that recreates the html.

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"Jose Marciano" <Jose Marciano@discussions.microsoft.com> wrote in message
news:E0B858A1-F2F6-423A-9432-834A7B61E599@microsoft.com...
> Hello.
>
> Could someone tell me the way(s) of doing cache in old ASP pages?
>
> What i really wanted was to keep in cache for some time the HTML generated
> by an ASP page (something like the "@OutputCache" directive of .NET).
>
> Thank you in advance.
> Jose Marciano
>



Report this thread to moderator Post Follow-up to this message
Old Post
Mark Schupp
10-27-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:04 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.