Persistent Cache Initialization Failed
In my event log on my IIS 6.0 Windows 2003 Server I get the following Active Server Pages Error
Error: The Template Persistent Cache initialization failed for Application Pool 'DefaultAppPool' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..
View Replies
ADVERTISEMENT
We are using Microsoft's treeview.htc control to display a tree control in
our .NET application.
When displaying the tree, the browser returns the error:
Dynamic Link Library (DLL) initialization routine failed
pointing to the following line in treeview.htc:
if(oItem.filters.length>0)
in function blurFilter().
Does anyone have any ideas about this and how to resolve the error?
View Replies
View Related
I'm a (moderate) newbie to and I'm building an ASP/VB db-driven site where the user selects a brand from a menu, this determines the contents for another menu with models. Selecting a model displays details about that model. Nothing too original here Its a small low traffic site with no ecommerce elements - just window shopping.
My questions is : I need to know on all pages what the current brand and model are (and modify these when the user changes them).
From what I understand there are 3 (?) methods: server vars, session vars or hidden fields. Which should I use for this purpose and can anyone point me to some good related examples/tutorials? (I've read the stuff on this site of course).
View Replies
View Related
I have a logon field. When data is entered, the user is taken to a protected page.
The problem/question is: Whe you click the back button and return to the logon page,the user data is still in the field. I want it cleared when the user returns to the logon page.How should I approach this problem. Java?
View Replies
View Related
Im using classic ASP (3.0) and I have a web farm with 2 webservers
(webserver A and webserver B, both windows server 2003). I do not want
to store any client specific information on the webserver (therefore do
not intend to use the session object- as you cannot gaurantee which
server the user will go to). I want to store a small value (e.g. a Y/N
value or an Id) on the client machine for the duration of their
browsing session, hence I want to use a non persistent cookie (in
client memory) not a persistent cookie that will be written to disk.
Q. Therefore if I create a non persistent cookie (i.e. it resides in
the client browsers memory) and set this when the user was on webserver
A, can I read the value server side on subsequent requests even if the
user is redirected back to webserver B? As the webservers are part of
the same domain name Im assuming I can..?
Q. Using non persistent cookies (in client in memory) im assuming the
session Id that gets created has no use, as I am using client side
storage, hence it is worth disabling this on the webserver for
performance reasons?
Q. Is there anyway using non persistent cookies that a user can see the
values of this cookie client side, are their any downloadable tools for
example they can run?
Im aware of the issues with size of using cookies and users can disable
them, my question is more related to using them in a web farm. Im also
not intended in the short term to upgrade to asp.net as Im aware there
are alternatives for state storage in this. Hope someone can clarify
these points for me. Note: I see many articles talking about cookies
but none relating to web farms, those that do talk solely about the
session object (Server side), none really go further to talk about (non
persistent / persistent cookie usage with web farms client side.
View Replies
View Related
Im using classic ASP (3.0) and I have a web farm with 2 webservers
(webserver A and webserver B, both windows server 2003). I do not want
to store any client specific information on the webserver (therefore do
not intend to use the session object- as you cannot gaurantee which
server the user will go to). I want to store a small value (e.g. a Y/N
value or an Id) on the client machine for the duration of their
browsing session, hence I want to use a non persistent cookie (in
client memory) not a persistent cookie that will be written to disk as
a file.
Q. Therefore if I create a non persistent cookie (i.e. it resides in
the client browsers memory) and set this when the user was on webserver
A, can I read the value server side on subsequent requests even if the
user is redirected back to webserver B? As the webservers are part of
the same domain name Im assuming I can..?
Q. Using non persistent cookies (in client in memory) im assuming the
session Id that gets created by IIS has no use, as I am using client
side storage, hence it is worth disabling this on the webserver for
performance reasons?
Q. Is there a way, when using non persistent cookies that the client
user can see the values of this cookie client side, are their any
downloadable tools for example they can run?
Im aware of the issues with size of using cookies and users can disable
them, my question is more related to using them in a web farm. Im also
not intended in the short term to upgrade to asp.net as Im aware there
are alternatives for state storage in this. I hope someone can clarify
these points for me. Note: I see many articles talking about cookies
but none relating to web farms and cookies, those that do talk solely
about the session object (Server side), none really go further to talk
about (non persistent / persistent cookie usage with web farms client
side.
View Replies
View Related
How do I track a referral from an affiliate site through a cookie. I would like the aff links to be formatted
Code:
View Replies
View Related
I'm building a page that displays all phone in phoneview.asp...however from admin section we can add new phone image tht stores path in database.
I wanna use cache object in phoneview.asp..becoz most of the time images r same..
so i just need to store image in cache...but not data..becoz asp page reads all phone list information from database and displays all phones.
so is it possible to store image in cache so it can be served quickly if its in list
View Replies
View Related
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).
View Replies
View Related
I have an ASP page with the "no cache" command.I know the ASP file is not being cached. But the flash file that is embedded in the ASP page is repeatedly cached by my browser.
Anyone discover a sure-fire method to prevent caching of embedded files?
View Replies
View Related
In my asp code i generate a graph/plot which is saved as a .png file, so saved as an image to the server. The problem is when i revisit the page with different selections, a new image is generated but not shown in the HTML. The previous image is shown which is not desired. So i did some coding to not cache the image, but without succes. Here is some code i tried:
Response.Expires = 0
Response.Expiresabsolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","no-cache,must-revalidate"
Response.CacheControl = "no-cache"
<html>
<head>
<meta http-equiv="pragma" content="no-cache">
</head>
</html>
and i used "nosave" in the img tag
<td><img src="linegraph.png" width="<%=xsizewindow%>" height="400" usemap="#map1" border="0" nosave></td>
but all these options without succes......
View Replies
View Related
i need to change a variable in my application object in every 5 minutes. Application("test"). how can i do that? can you show me an example code.
View Replies
View Related
I have a frameset with 2 different pages. When a user logs in the page is setup based on that particular user. The problem I have comes when that user logs off (killing his/her session) and someone else logs in one of the fr4ames does not always refresh with the new users info.
The user actually has to right click on it and click on refresh. I am killing session with �Session.Abandon� (this seems to be working). I have the following statements at the top of the page that is not refreshing: Code:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
Anyone have any idea why the frame is not updating?
View Replies
View Related
My website is on a server that places Cache-Control: private in the
Header of the pages that are served. I see these pages are not cached
by Google (the Google Toolbar Cached Snapshop of Page function).
Is this directive from my server preventing Google from caching the
pages that have it or do I need to look into some other problem?
Thanks in advance for your input/feedback.
View Replies
View Related
Is there a way to clear cache using ASP, VBScript or Javascript?
I have created an ASP login page with sessions etc so unregistered members cannot view certain pages, however, when you logout you can still press the back button on the browser toolbar and view the pages, I want to find a way to make those pages expire by clearing the cache or something like that!
View Replies
View Related
Does anyone know how to clear a sites cache with ASP. I have a login script that does not terminate the history when signing out. A user can simply click the back button and get back into the site..
View Replies
View Related
how you 'cache' an ASP page? I run a football predictions league site and some pages than calculate users points stats and the league table are taking ages to load. I think this is because its making loads of calculations (Although I could be wrong!).
Ive been told the best way to solve this problem is to run the ASP page once and then 'cache' it. The page only needs to be run once to perform the calculations so I shouldnt be making it run the calculations on every request, as happens at the moment.
View Replies
View Related
what is the diference between these two cache control header.no-cache and no-store.I have read the w3.org explanation.So lets say I am using only no-cache ....my understanding is thatnothing is cached and nothing is writen to disk.but what happens when we use no-store....i think..nothing is written to disk but it could be cached.
Now my question where is this cache located...is it only in memory ?....if it is written to disk how log is it there and when does it gets cleaned.Is no-cache more secure than no-store ..why?
View Replies
View Related
how you 'cache' an ASP page? I run a football predictions league site and some pages than calculate users points stats and the league table are taking ages to load. I think this is because its making loads of calculations (Although I could be wrong!).
Ive been told the best way to solve this problem is to run the ASP page once and then 'cache' it. The page only needs to be run once to perform the calculations so I shouldnt be making it run the calculations on every request, as happens at the moment.
View Replies
View Related
I wrote the following code to clear the cache in my asp page.
Code:
Response.Expires=-1
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Cache is getting cleared but a new page is coming when i hit the browser's back button. I need to get the page expired warning message of internet explorer. I did some r&d and found that HTTP_CACHE_CONTROL: no-cache header is not getting added to the page. How to add this header to my web page.
View Replies
View Related
Is there any way I can clean the cache at the top of each web page so that users cant use the back button in explorer ?
View Replies
View Related
I have an ASP which performs a simple query pulling data from an Access db. The data will only change about once a month so I reckon it'd be more efficient to cache the recordset in some way. I'm guessing I store it in an application variable but I don't know where to start.
View Replies
View Related
Just pass date as a querystring , even if you do not want it
like www.domain.com?x=date
No browser will ever cache this page because the url will change every second LOL. This comes particularly handy when you are making remote calls using xmlhttp or other means and you require the results to be current.
View Replies
View Related
how you 'cache' an ASP page? I run a football predictions league site and some pages than calculate users points stats and the league table are taking ages to load. I think this is because its making loads of calculations.
I ve been told the best way to solve this problem is to run the ASP page once and then 'cache' it. The page only needs to be run once to perform the calculations so I shouldnt be making it run the calculations on every request, as happens at the moment.
http://www.pool-predictions.co.uk/ho...rs.asp?tab=a_d
View Replies
View Related
1: Is it possible to cache the images on my pages.....eg...credit card images, header images, logo etc etc, so that thge user doesn't have to keep loading them from scratch on every page?
2: How would i go about doing that?
I only want the images to be cached...not the content, as it involves sessions which store login info.
View Replies
View Related
how can control cache pages, when i logoff my session and back to members page again the page is still so how can i get rid of this .
View Replies
View Related
Someone know how can i delete cache of browser in asp code? is posible?
View Replies
View Related
I have a asp page "shownews.asp" which caches the data..now when i view the website how do i verify that the data is being fetched from the cache only and not from the database.
View Replies
View Related
I have an employee phone book application that is 5 years old. Written in asp with vb script calling sp's. when someone queries the all employee page they get all employees. When they then query employees by location it will again return the all employees data.
I changed the RS names in the all employee page in hopes that would fix it. I added the no cache code on all my pages and this hasn't helped. This app is 5 years old and hasn't changed at all but this just started happening within the past 6 months. When the user clears all cache and tries again it will work. How do I fix this?
View Replies
View Related
When I upload an image with same filename as image already up there it shows me the old image not the new. Refresh button in IE give me correct image but that is not good enougth.
I also no you can in IIS add header to expire the images immediately but I do not wish to this all the time. I wish to be able to put in the ASP page to always reload the image. Any clues. Response.Expires = 0 does not work as only the page not the image!"·"%!!·!
View Replies
View Related
I have a problem to keep the input value from user still keep. The condition when User input , let me say" Employee Code","Employee Name","Level", then the user input all the 3 field, but when the user submit the employee code not unique/already had by another record,then the problem is after that Employee Name and level input value empty again. Then How to keep the input value....with that condition.....i have no idea....
View Replies
View Related
what would be the script in deleting cache automatically in browser in asp? if there's no cache would that affect the transactional functionalities like add, update... and so on? am i going to put such script on every page?
View Replies
View Related
Does anyone know how I can have more control over which images are cached on a particular page?
I have Response.Expires = -1000 set at the top of the page to ensure that the page isn't cached because it is important that the data from the Database is not cached (this has been a problem in the past).
Is it possible to specify which images, ie the ones that are common to all pages, will be cached and which ones won't so as to force the user to cache them and therefore make he site slightly quicker?
Obviously I understand that if the user has their own caching rules setup, these will take precedence.
View Replies
View Related