Running Bear
10-17-2002, 06:46 PM
I'm having problems with my site (w2k server), sometimes when I make changes to my pages and move them onto the server. The new pages aren't read. Sometimes the old pages are shown and other times I get an error.
HTTP 500 - Internal server error
At the moment I'm getting the error and can't figure out what's wrong.
I've checked the pages on the server and they are the correct ones. The site works perfectly on my development machine, w2k pro.
Could it be a cache problem?
I've edited the websites properties HTTP Headers Tab and checked the option 'Expire Immediately' Stopped the site and restarted it without success.
I've enabled application debugging, and have put the following code into the top of all my asp pages
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1000
My login page and initial frame set load okay (all .htm files). It falls over when I click login and the first .asp page is called
Does anyone have any ideas? Anything will be gratefully received no matter how basic or stupid (within reason of course) :D
HTTP 500 - Internal server error
At the moment I'm getting the error and can't figure out what's wrong.
I've checked the pages on the server and they are the correct ones. The site works perfectly on my development machine, w2k pro.
Could it be a cache problem?
I've edited the websites properties HTTP Headers Tab and checked the option 'Expire Immediately' Stopped the site and restarted it without success.
I've enabled application debugging, and have put the following code into the top of all my asp pages
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1000
My login page and initial frame set load okay (all .htm files). It falls over when I click login and the first .asp page is called
Does anyone have any ideas? Anything will be gratefully received no matter how basic or stupid (within reason of course) :D