I have recently changed web hosts, and am suddenly having the problem that IE is displaying cached ASP pages, i.e. displaying data base query results from the first assembly of the asp page. Surely this contravenes the whole principleof ASP as a dynamically generated page. I didnt get the problem with my previous host.
What am I to do about this? If it is browser dependent, how can I be sure that all users have their browsers set correctly. If it is a host problem, it would be good to have some idea what the problem is before contacting them. Or is there something I can do within my asp page to ensure that the current page is the one displayed by the browser?
I searched the forum and got the following code from someone who posted it in 2002. However I can't seem to get it to work in my asp page. Can someone confirm the syntax for me? I would like to try and put it in an include file rather, but need to get it to work first.
Is there an effective way to stop pages from being cached?
I've created several websites that have dynamic content and images that are managed by a client. The images are named according to the "id" generated via an Identity column of their corresponding database record (ex: 1058.jpg). The problem occurs when the client tries to change the image.
The client gets understandly confused because the old image is still displayed, due to the browser caching the image. How can I force the browser to stop caching the page/image?
I am using ABCPDF4 component(ASP),to add values to an editable pdf, and then redirect user to the pdffile .. but for every user the same values are being shown on pdf .....
We encountered a very strange problem. We host a web site: www.[our_site].com and a large number of our users belong to an organization group with central network control and they can only access our web site through two headquarter proxy servers: x.x.a.7 and x.x.b.8, which was set in security dept of the group headquarter. The web site was working fine till recently when those user accessing via x.x.a.7 all have problem suddently while those accessing via x.x.b.8 have no problem. The users accessing via x.x.a.7 are directed to wrong page, very slow response, hang on some page or encounter errors, etc. If they access the same site via another alias, like www2.[our_site].com which points to the same web server, they will not have any problem. They do not have problem to access any other web sites we tried, including our other web sites hosting in the same site, even the same server. If the users change their ie setting to use other public proxy server, they will have no problem to access our site. Strict security policy are applied to the user site, so we cannot ping, tracert or do any other network testing from user machine. Since user has no problem to access any other web site, the headquarter security department wont handle our case and simply think it is our problem.
This problem is regarding ASP/AJAX. I don't really want to bore you with all the code so i will start off by giving an overview of the problem.
I have an ASP page that places an AJAX request to an ASP page that retrieves a random record from the database, the information returned is then updated into a Div on the original page. The original page has a Refresh link to repeat the procedure and select another random database entry. With me so far?
In firefox this works perfectly, but im having problems in IE. It seems that the ASP page that accesses the database is cached somehow as everytime i use the refresh link it returns the same data. I have used the time() function in the returned data so I can see that it is exactly the same info returned with each refresh.
It seems that the response is being cached and rather than rerunning the script the cache is being returned.
Is there a way to disallow a page from being cached? I'm about to introduce functionality that will not work properly if the person uses the 'BACK' button on their browser and would like to ensure that they cannot. I tried using <% response.expires = -1 %> thinking that it would work, however it only ensures that another request has to be sent to the server. Any ideas other than simply giving the user a message NOT to use the back button?
Here's a link to the functionality. It uses session variables to produce a dynamic rate quote. (Tip use WDW in the Description/Keyword search).
I am running an ASP file that returns image buttons back to the client. The download on the client side is slow (about 19 small images on the page). I am running on Windows XP SP1 behind ISA server, and the request is coming from an outside IP.
The same application on an NT 4.0 Server works fine. The download time is maybe 3 seconds, versus about 20 seconds for the same exact images. It is behind the same ISA Server.
I want to be able to return to a search results page without having to reload the page after having followed a link from one of the results. Would a search results pages generated by asp be cached, and is it possible to direct the browser to load quickly from the cach rather than slowly from the server.
I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp. If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want.
If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. Code:
I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp.
If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want. If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. Code:
Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server not helping, only whole server.
I enable server side and client side debugging, but no errors showing up...
In view source pages always look like this: ----------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1251"></HEAD> <BODY></BODY></HTML> -----------------------
is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?
We run a website with pages that are created using ASP. The website is used by different people from different networks. For some people, the pages are stuck. It looks like the were able to open the page, but it is not displayed on their browser. We think that it might be something to do with their proxy. Does anybody know how to solve this problem?
I had a 404 page set up in IIS 5.0 that would the the URL of the requested page from the query string. i recently upgraded to IIS 6.0 but it doesn't seem to put the requested URL in the query string as it did in IIS 5.0 and 3.0. Does anyone know how i can get the requested url property in IIS 6?
I have a bout 5 different pages of which each will contain a form requiring users to complete. These forms are all related as one project. It is necessary that if the user was to only complete the first form they could theoretically quit, come back later (time not dependant) and complete the remaining pages. Therefore I think the best way to do this is to write the values to the database upon each click of the next button. The only other issue with this is that the user will also be receiving a pdf file at the end of the full form submission with all their information inserted into this pdf and finalized. Now. I am aware of pdflib in which I need php but my choice was to do this in asp. What are my options here? Should I combine them, should I draw all the info from the db at the very end with php and then create the pdf, should I use sessions during the entire process
When asp.net pages are made in vs.net, loading on the local host displays the labels all in the top left corner of the screen. Also, all textboxes and image buttons are not even displayed at all. If pages are made on a remote server, they load perfetly fine, it is just the local host displaying them incorrectly. Is this a common problem?? I have iis 5.0 installed with windows 2000. i use the full version of vs.net to make asp.net pages.
I have a web site I've recently moved to a new provider.It has worked for years.On the new provider's servers ( Win2k Server .NET 1.1 ) my asp 3.0 pages often don't completely execute. Here is what happens: Most of the page starts displaying in the browser, then you see some HTML, then nothing. If you refresh a few times, the page finally completely loads. There is never an error reported during any of this.
I have installed IIS 5 on Windows 2000 Server and have applied all the neccessary updates and patches. I am unable to run any ASP pages on the local server. I am able to view the HTML pages though. I have checked everything but cannot seem to figure it out. I end up getting HTTP 500 for all the web pages.
I am trying to setup a demo server for an asp.net web site that is working on my real website. The demo is Win2K and I have installed .net framework and IIS, both successfully,I think. The problem is that when I try to access the demo site, the pages are not being served correctly - only lables are displayed, and not as configured. HTML pages display correclty. I tried to run aspnet_regiss, but get an unkown function error.
i can make a database, add entries to database, delete from database, but the only thing i want is "How to divide entries in Pages" like we can see in the guest-book etc Scripts. This is an Example: Quote:
Entries: 500 Pages: 1|2|3|4|5
how to divide the entries in pages, like 10 entries per page..?
I've got a site that's been up and running for a couple of years.I've added some new stuff and it looks fine on my computer. However other people are seeing the old stuff.
I've tried a manual refresh of both my browser and theirs but nothing, the URL's are identical . This is a real problem as i'm away for a month as of Friday and the site is needed for a project.
Our website is in html format. I want to change it to asp. I have already created my index page and have it on the server as index.asp. When I load the website it brings it up with no problem. On this index page I have links to all the pages on the website which are basically articles of varying lengths.
I want to use the query string (i.e. page.asp?pageid= or authorid=) ect. to load that article. Do I need to develop a database to store these articles in? If so can I include the formating code in the database field for the article itself. My fields in the database (ms access) would have for example article_id, author_id, article_txt, ect. How much can I place in a particular field (txt wise)?
I understand that the information passed in the query string after the ? searches the database for a match. Once it finds a match how do I display the article and have my formatting included, ect.? I hope this makes some sense.
We have moved a web site from a development server running Windows 2000 and IIS 5 to a Windows 2003 server running IIS 6.0 Now the asp pages do not work correctly. For example, request.form() no longer returns data from the calling form.
I have turned web services extensions on to allow active server pages. The pages do work to some extent, I can even setup a connection to a database and retrieve stored procedure parameters, but some elements do not work. What else do I have to do to make an IIS 6.0 server run asp from a previous version of IIS?
I have IIS running and can get it to display htm pages, but not ASP. I get 401.2, invalid config on server. I've run authdiag, but can't glean the answer from its results.
According to my last post (Error Handling) when I create an ASP (check.asp) page to handle 404 error (Page Not found) and I display data in this page according to the URL, this way I can make a site with infinite number of pages where those pages are not availble in reality. and I can create my own links in those to send to any URL in my domain.
Example: to display information about USA, I will make a link to a page called (USA.asp) and according to the name USA I can display data about it, and the URL will look great.
are dose links detectable by search engines?Will google index page http://www.site.com/usa.asp?surely USA.asp is not availble, but the link will display data
I would like to know if it is possible to set this property in way it can be for example in Visual Basic. How would you set tabbing to go the way I want it to go rather and how would you make the first field have the cursor/focus when users log in and get to the page where you can start submitting.
the reason why I need this is so that user can scan through all the fields almost without needing to use the mouse, so the first field to have the cursor inserted and ready to go and the rest of fields to give the tab number the way I like it. Can it be done and how would you do it?
I'd like to set-up an ASP page that emails shoppers 30 days after they've purchased an online product.
Constructing an ASP page that searches the database and if the datediff of the order date and now() = 30 to send out an email shouldn't be that difficult. But is there a way to have it run automatically?
I have a site that I need to distribute to various locations around the country. Each of these sites has they're own developers so I want to lock the code to prevent them from seeing it. Is there anything I can do?