Remove Cached Page In Browser

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:

View Replies


ADVERTISEMENT

Remove Cached Page In Browser

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:

View Replies View Related

Stopping IE Using A Cached ASP Page

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.

View Replies View Related

Disallowing A Page To Be Cached

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).

View Replies View Related

Retrieving Cached Asp Page

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.

View Replies View Related

XMLHTTP And Cached Page

I have a page requesting content from another via XMLHTTP object. The returned page is returning cached data and I can't get it to stop.

I'm running IIS on a Win2k Server. I've done nothing to setup page caching, etc.

View Replies View Related

Remove The Page.asp After The Link

How can I remove the page.asp link from the address bar? For example I have a link called www.mysite.com/page.asp?f=1, after the user clicks on the menu navigation. How can I get rid of page.asp?f=1 so that only www.mysite.com appears? Another thing, will request.querystring still work then?

View Replies View Related

How To Remove The Title Bar From A Page?

I just made a link that opens up a new page. I have it to where it will not show the address but Is there a way to get rid of the title bar?

View Replies View Related

Shop Cart List Page With Several Remove Buttons, No Javascript

how would I go doing it without javascript and using 'POST'?

Having a page with a variable list of items in a shopcart, each item
with its own 'remove' button. How could I do this without a javascript
and using POST as the form type? (so having <a href="page.htm?remove=2>
is not possible)

View Replies View Related

Browser Page

Does anyone know how I can close a browser page via ASP code?

View Replies View Related

Page Redirect For Browser Width

Does anyone know of any ASP code that would redirect a page that has a small page width....such as a mobile phone, Blackberry, Sidekick, etc to another page designed for the width.

I have one with Java script but many of these devices don't handle Java too well.

View Replies View Related

Browser Displays Code Of ASP Page

The most pressing issue at the moment is that my browser does not display the page; it displays the ASP code. I built the page for a questionnaire that was going to be placed on my schools server so that participants could access it online, but I submitted my request too late in the semester.

I decided that the best course of action was to collect these data offline using the computers that I had bought for my lab. The laptops are running Windows 2000 Professional and are using IIS. After configuring ISS and Dreamweaver MX, I built the questionnaire. Then, I uploaded the questionnaire to the “server”—the wwwroot folder.

Now, the index page (the instructions to the questionnaire) opens flawlessly, but when the link to the questionnaire is pressed to open the ASP page, the browser displays the code and not the questionnaire itself.

When I explained this problem to people, they tell me that my server does not support server site scripting, but I’m using a Windows machine, using Windows server software, and Windows database software (Access 2000). Moreover, when I preview the page through Dreamweaver MX, Internet Explorer displays it without a problem. Code:

View Replies View Related

.asp Page Wont Display In Browser

I created my .asp page in Microsoft Visual Studio .NET 2003 and when I right-click my page in there it displays perfectly. But when I try to view it in internet explorer I only get the html part to display.

I've tried regestering iis in the cmd, it didnt solve it. Here is the code if it could be to any interest:

View Replies View Related

How To Make ASP Page To Let Browser Upload File

how to make asp pages that could let people to upload files. I use Macromedia Dreamweaver and there is a form for file field, but it doesn't has any help function on how to do it.

View Replies View Related

How Do I Link An Asp Page To A Pdf Document And Render It In A Web Browser

how do i link an asp page to a pdf document and render it (the pdf document)in a web browser without it downloading to the client computer viewing it?

i have tried the response.contenttype="application/pdf"

now the main problem is how to embed the pdf doc in that asp page!

View Replies View Related

How To Save Page Address In Browser History

i want to force the web page address to be saved in browser history using asp vbscript.

View Replies View Related

Print Content Of An ASP Page To Acrobat PDF Destiller And Send PDF To Browser

I have an ASP page, whisch generates dynamic report for a SQL server DB.
Now the users want to have the content in PDF format (not HTML page). The
server machine had "adobe acrobat destiller" installed.

How can I print the content of this ASP page to acrobat PDF destiller and
send PDF file to browser?

View Replies View Related

PDF Cached

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 .....

View Replies View Related

Proxy Cached

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.

View Replies View Related

Cached Pages

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?

View Replies View Related

Image Files Not Cached

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.

View Replies View Related

Clearing Cached Pages In ASP

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.

Response.ExpiresAbsolute = #1/1/1980#
Response.AddHeader "cache-control", "no-store, must-revalidate, private"
Response.AddHeader "Pragma", "no-cache"
Response.Buffer = True
Regards
Ronel

View Replies View Related

Stopping Pages/images From Being Cached

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?

All of the ASP pages already have the following:

<%Response.Expires = -1%>
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">

Any ideas?

View Replies View Related

Need To Remove DAY Name

I found a simple date script, which is this:

<%
var_date=date() 'get the current date
var_date=FormatDateTime(var_date,1)
Response.Write(var_date)

Wednesday, September 29, 2004

How can I get this to not display the day of the week, I only want - September 29, 2004

View Replies View Related

Remove DAY Name

I found a simple date script, which is this:

<%
var_date=date() 'get the current date
var_date=FormatDateTime(var_date,1)
Response.Write(var_date)
%>

Wednesday, September 29, 2004

How can I get this to not display the day of the week, I only want - September 29, 2004.

View Replies View Related

Remove Dot

i have a variable which holds a value like this

stramount=Trim(Request.form("txtamount"))

response.write stramount

the output sometimes is

50.00 or
50 or
50.

if it is 50.
i want to remove the (dot) at the end. can someone tell me how to use the instr function to see if there is a dot at end and if it is there then remove it.

View Replies View Related

Remove The Gap

i have problem in removing the gap between two images, pls see the attached image. coz my item name is quite long, i dun wnat it display in horizontal, i want it display as vertical. so i create the images for the character and use ascii to recognized it.

my code is as below:

<td align="left" class="BorderLeft" width="1%">
<%dim word, pic, word1
word = "AAAAABABABBA"
pic = ""
for i = 0 to len(word)-1
word1 = cstr(right(left(word,len(word)-i),1))
pic = asc(word1) & ".gif"%>
<img src="../images/<%=pic%>" border=1 vspace=0 hspace=0>
<%next%>

</td>

View Replies View Related

How To Remove Cookie?

How can I remove a cookie from the client in ASP? I'm not talking about setting the value to a blank string and I've tried this:

[vbs]
Response.Cookies("mycookie").Expires = Now()
[/vbs]
and
[vbs]
Response.Cookies("mycookie").Expires = Date() - 100
[/vbs]

Neither of which work.

Is there any way to completley remove the cookie?

View Replies View Related

Remove Header

can anyone temme the script or style sheet to remove the hearder and footer url address of the web page when printing the pag

View Replies View Related

How To Remove Duplicates

How to write asp code to remove duplicates in an array.

For Eg: A()=(1,5,10,15,10,20,5)

After removal of duplicates it should be

A()=(1,5,10,15,20).

View Replies View Related

Add Remove Button

The main idea goes like this: I have a textarea, on the right I have a listbox whose elements are loaded from an Oracle Database, I want to have an "Add" Button which when pushed will insert in the textarea the value selected on the listbox between "{ }" (ej, The {white} cat), you can add as many values as you wish and also manually edit the text, and a Submit button which open another ASP page that will check the sintax of the textarea and insert it on the Database.
So far I already have the part which checks the sintax and inserts it on the db, and the listbox with the elements you can insert on the textarea, but my boss really wants the "Add-Remove" feature and I need to finish this for Tuesday

View Replies View Related

Remove Underline

I have image icons that are clickable. I want to remove the hyperlink from around the image.
I tried the STYLE="TEXT-DECORATION: NONE" tag but thats not working. How should I remove the underline from the hypelink.
Code:


strImage = "<A target=""_blank"" href=""document.asp?job="
strImage = strImage & jobid & "&doc=" & filename & """ STYLE="TEXT-DECORATION:NONE">"
strImage = strImage & "<IMG SRC='" & GenerateIcon(rs("filename")) & "'/></A>"

View Replies View Related

Remove Left Of ,

Would search for this but forgot what its called? I wanna remove everything from the left of the camma in a variable:

43,7-3-05

to 7-3-05

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved