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


ADVERTISEMENT

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

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

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

Retrieving Page Name

I am trying to retrieve the page name. I know this is possible using Server Variable PATH_INFO. The problem I am having though is that when I get to a page in one of my subdirectories the subdirectory name is displayed.

Example: my page index.asp is in the the admin directory so the PATH_INFO displays as /admin/index.asp. How can I strip the page name out so I get index.asp. I cannot use the function Right() since the page name could be any length.

View Replies View Related

Retrieving Web Page

I would like to retrieve a remote URL using the XMLHTTP object. However, I only want to "display" a certain portion of the page. How can I go about doing this?

View Replies View Related

Retrieving Body Of A HTTP Message Being Posted To A Listening Asp Page

I have an ASP page that sits and listens for responses sent to it by a third party. The third party simply sends a plain text delimited response in the body of the http message.

Eg: Account=2,User=92663,Pass=OK,Action=5

What I can't figure out on my listening page, is how to capture the body of the message being posted to it, so that i can then manipulate the delimited string, and split it up into the variables for later use.

How do i get access to the body of the http page? I thought perhaps using WinHTTP, but it looks like it only works when your page goes looking for a web page, and not when a page is being submitted to it, like in this case.

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

Retrieving

When a new record is inserted into access db it creates an id, how can I return this value for a record I have just created?

View Replies View Related

Retrieving Value

I have the following code in my form:

Response.Write("<form name='Testing'>");
Response.Write("<INPUT type=hidden id='Testing_txtbox'
name='Testing_txtbox' value='a simple test'>");
Response.Write("</form>");

If I type the following in the very next line, I get a value of
"undefined".

Response.Write("value="+Request.Form("Testing_txtbox"));

why this won't work. and how I can retrieve values of hidden controls via Server side code?

View Replies View Related

Retrieving XML DTD Doc

I have a DTD xml doc and need to read the data from it and display it using ASP.

View Replies View Related

Retrieving Name Tag From URL

I want to know if there is a way to retrieve the tag from the URL, I don't know if thats its name, so I'll just explain what it is:

showmsg.asp?FID=mn&ID=2467#2529

the tag, as I call it is what follows the # sign, the number 2529, in this case. so, is there a way I can retrieve the tag with ASP, by the request object, or any other way, any Ideas? Another thing I wanted to know, not related to this subject, is how do I change value of a textarea that is placed in another window with VBscript or JAVA. is it possible?

View Replies View Related

Retrieving Qty

I have three different tables I will be pulling stuff from: user_info, img_inv, activitylog:

user_info I will be using their ID and state
img_inv I will be using part number
activitylog I will be using part number and date

I'm trying to select the part number from the activities list and match it with the img_inv to make sure it still exist. If it exist I want it to do a total count of how many times it has been looked at by 7 states within a given quarter. Code:

View Replies View Related

Retrieving Cookie Value

I want to retrieve the value of a cookie to make a form a little more user friendly (our intranet is configured to set a cookie for User First Name, Last Name and Email when they log in)

Unfortunately I can't figure out how to retrieve the value of the cookie. I've been trying:

<%
Response.write Request.Cookies(UserLName)
%>

But it gives me an error - I used Checky to make sure the cookies are there and they do exist:

Name:mascot
Value: UserLName=Tarby

Can someone give me some advice?

View Replies View Related

Retrieving Values

i want some help in how to retrieve values from multiple selection listbox. i want the values retrived to be used in the search which i perform from the database. i m doing a search feature which u all often see in job search sites. so someone selects multiple cities to search in i want that to include that in my search query.

View Replies View Related

Retrieving Url Properties

Is there a way in asp to retrieve part of the URL and use it

say the url was

http://localhost/site/craig

is there anyway of retrieving the word craig so to use it in the page

This is because i could have other addresses that are for example

http://localhost/site/Jon

where i need to retrieve the word jon

View Replies View Related

Retrieving Values

I have a form that send values to a second page. i m trying to compare the values received from the form with other values retrieved from a database. so if a value already exists then an error message is displayed. in order to compare the values i need to print them on the second page but I m bit stuck with this. i used request.form("category") in order to retrieve the values from the form but it doesn t work.

View Replies View Related

Retrieving Time

I am trying to get a field populated in an oracle database with a time stamp of when a form is submitted.

I have found out that there is a table in Oracle called DUAL which holds the current date and time. At present i can populate the date when the form is submitted using objrs('sub_date')=date() but when i query the database the time element of the field sub_date, the time displayed is 00:00 which is the default time.

So can anyone give me any help in how i can capture the time. I know about select to_char(sub_date,'DD-MON-YYYY HH24:MI') which will bring up the time but i can seem to populate the field sub_date with the time.

View Replies View Related

Retrieving Properties

How to retrieve "Last modified" & "FileName" from all files in a specific folder (called MyDocs) and display on the ASP page?

eg. (in MyDocs folder)
- MikesWork.doc
- MyResume.xls
- HouseExpenses.xls

Situation
Let's assume that i just modified MyResume.xls file and save it today(10/30/2003) on my computer, then i upload it into the internet. On my asp page, i want to show all files Filename (Last Modified) in MyDocs folder.
eg.
Your Documents
1. MikesWork.doc (last modified 10/24/2003)
2. MyResume.xls (last modified 10/30/2003)
3. HouseExpenses.xls (last modified 9/15/2003)

I know it has to do with fso or something close to it... but totally have no idea (zero) of its logic or how it works. Please help me by giving me with full example.

View Replies View Related

Storing And Retrieving UTF-8

I'm writing a vbscript application that reads UTF-8 XML containing Chinese
characters and stores the data in MySql 4.0.x.
Does anybody have any experience in this area with regarding codepage and
character sets? Ideally I want the scripts to be able to handle Standard
European characters and Chinese characters as well.
Are there any special considerations for using MySql/ODBC and ADO to get and
put the data.

View Replies View Related

Retrieving Files

Right I have my files going into the database, and once successfully uploaded, a user is shown a few bits of information in a table such as the primary key, name of file, its size and the content type.Now i want to create <a href> links on the homepage etc so that browsers/users can download these files one at a time. So when they click the link, the Save.Open or Cancel dialog box appears. Have been trying different things for few days now but finally thought I better ask for some help as Im gettin nowhere.

View Replies View Related

Retrieving A Zip File From A Url Using Asp

I have a zipfile that is created dynamically for me on a webserver. I have the url of the zip sent as a post value to an asp script on my website.

In my asp script I need to be able to retrieve the zip file so that i may extract content from it using an asp zip component. Any idea how to retrieve the file?

View Replies View Related

Retrieving 200 Characters

I have a SQL statement to retreive results based on keywords entered
I only want to show the first 200 characters of the field though, how would I modify this code to do just that?

SQL = SQL + " instr( 1, lcase( description ), lcase( '" + aKeywords(i) + "' ), 1 ) > 0"

I thought it would have been something like:

SQL = SQL + " (left(instr( 1, lcase( description ), lcase( '" + aKeywords(i) + "' ), 1 ), 200) > 0"

View Replies View Related

Retrieving User From Db

i have a checkout page which lists the user and what they have puchased. however, theres a problem with this page as I cant retrieve the user from both tables in my db, Customer & Corporate. The error message that I received is:

Microsoft VBScript compilation (0x800A03F4)
Expected 'If'
/shop/check_out.asp, line 412, column 3
End
--^

which refers to the red line in the code below: Code:

View Replies View Related

Retrieving Varable From ASP To ASP.

I have an .ASP page that comes up, and I am trying retrieve a variable from
the previous .ASP page. However none of the variables from the previous .ASP
page are available to the current .ASP page. There are three pages in this
chain.

1. NewUser.html
Information is input in this page, and posted to the next page using this
tag <form method="post" action="newUser_response.asp">.

2. NewUser_response.asp
Information is retrieved from the previous page using the
<%=request.form("strADLocation") %tag, and then posted to the next page
using the <form method="post" action="newUser.asp" This page is basically
just a confirmation page, and just displays the information from the
previous page, and sends it to the next page.

3. NewUser.asp
This page is supposed to retrieve all of the variables from the previous
..asp page using this syntax strADLocation = request.form("strADLocation"),
and create a user account, but none of the variables are available to the
script portion of this page from the previous .asp page

I had a similar problem when I was trying to make variables available to a
..asp page from a .html page, and later found out that I had to re-declare
the variables in the second page which was an .asp page using this syntax
strADLocation = request.form("strADLocation"). Everything worked great at
this point(HTML to .ASP). The problem I am having is that I added an
additional .ASP page(NewUser_response.asp) in the middle, and I can't seem
to retrieve the variables from the previous .asp page. Now the chain is HTML
to .ASP to .ASP. If Code:

View Replies View Related

Retrieving Dates

when i retrieving date the dates come out in american format

eg 01/28/2006

how do i get it so it come out in 31/01/2006 ?

View Replies View Related







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