473,322 Members | 1,241 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Compiling an ASP page

Hello,

According to my book when an ASP page changes the server notices and
automatically compiles a new version.

If that doesn't seem to be happenning is there a way that I can make the
page re-compile? Or delete the compiled version to make the compiler do it?

Thanks in advance,
Tony Robinson

tm*@zoom.co.uk
Jul 22 '05 #1
4 1300
On Wed, 16 Feb 2005 17:43:49 GMT, "Tony Robinson" <tm*@zoom.co.uk>
wrote:
According to my book when an ASP page changes the server notices and
automatically compiles a new version.

If that doesn't seem to be happenning is there a way that I can make the
page re-compile? Or delete the compiled version to make the compiler do it?


You're probably running into a caching issue. What makes you believe
you need to recompile the pages?

Jeff
Jul 22 '05 #2
Hi Jeff,

I have a feeling that it's nothing to do with ASP after all. I have tried
some things and the page clearly is recompiling. There is a piece of Java
script which is causing me the problem.

Cheers,
Tony

"Jeff Cochran" <je*********@zina.com> wrote in message
news:42****************@msnews.microsoft.com...
On Wed, 16 Feb 2005 17:43:49 GMT, "Tony Robinson" <tm*@zoom.co.uk>
wrote:
According to my book when an ASP page changes the server notices and
automatically compiles a new version.

If that doesn't seem to be happenning is there a way that I can make the
page re-compile? Or delete the compiled version to make the compiler do
it?
You're probably running into a caching issue. What makes you believe
you need to recompile the pages?

Jeff

Jul 22 '05 #3
On Wed, 16 Feb 2005 18:57:12 GMT, "Tony Robinson" <tm*@zoom.co.uk>
wrote:
I have a feeling that it's nothing to do with ASP after all. I have tried
some things and the page clearly is recompiling. There is a piece of Java
script which is causing me the problem.
If it's client-side script then the client is likely caching it. You
can try using the pragma no-cache directive or expiring the page
immediately. See a client side group for details on how.

Jeff

"Jeff Cochran" <je*********@zina.com> wrote in message
news:42****************@msnews.microsoft.com...
On Wed, 16 Feb 2005 17:43:49 GMT, "Tony Robinson" <tm*@zoom.co.uk>
wrote:
>According to my book when an ASP page changes the server notices and
>automatically compiles a new version.
>
>If that doesn't seem to be happenning is there a way that I can make the
>page re-compile? Or delete the compiled version to make the compiler do

it?

You're probably running into a caching issue. What makes you believe
you need to recompile the pages?

Jeff


Jul 22 '05 #4
Private Sub SetNoCacheHeaders()
With Response
.Expires = -1000
.ExpiresAbsolute = DateAdd("d",-100,Now())
.AddHeader "PRAGMA", "NO-CACHE"
.CacheControl = "PRIVATE"
End With
End Sub

--
dlbjr
Pleading sagacious indoctrination!
Jul 22 '05 #5

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

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
2
by: DanB | last post by:
I run VB.net standard edition. When I try to build any type of Web Application I have two problems. 1) The debugger does not work. 2) If I ignore the debugger and just build the project it...
1
by: C Downey | last post by:
Is there a way to access my .vb class files in my codebehind pages without pre-compiling them first. We are working with multiple developers, so each time I make a change to the class file the...
1
by: Paul Darroch | last post by:
Hello I am trying to develop a class, which I will only use within my ASP.NET site. I therefore created a class and inserted a simple test method in it. However, when I try to use this class...
4
by: bryan | last post by:
I'm still using Beta 2 of VS2005. I'd like to be able to precompile my web site (similar to 1.x) so that I don't have to put source files on the deployment server. Is there anyway to do this other...
1
by: tdavisjr | last post by:
I don't know if anyone noticed yet; but compiling websites in VS 2005 is a DOG!! It literally takes me like 1-2 mins to build a website or even start it with debugging. Is anyone else having this...
9
by: jojobar | last post by:
In vs.net 2005 you can build the entire website, entire solution or a single page. The project I am working on has more than 1000 pages spread over 50-60 directories. We work on one or two of the...
7
by: Victor | last post by:
I've got a website that is very fast. I just added a subroutine in the file global.asp (global.asp is run each time any page is called). The subroutine determines the user's country by comparing...
1
by: matt.merchant | last post by:
All, When publishing a site with the "Used Fixed Naming and Single Page Assemblies" option checked, only one of my two App_Code folders are compiled into .DLL's. The original code (DotNetNuke...
4
by: Chris Zopers | last post by:
Hello, To prevent my webapplication from compiling when a user first visit's the site, I precompile the application with the aspnet_compiler tool (aspnet_compiler -p physicalOrRelativePath -v /...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.