[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

asp refresh on IIS server side

Posted on 2004-10-25
4
Medium Priority
?
212 Views
Last Modified: 2010-04-17
Dear Support,

I wrote a standard asp page use Dreamweaver MX which it connect to the MS Access database use DNSLess connection methold.  

The list of table show the company's order history, by date, item#, description, unit price.  Once the sales order has been generate after customer check out the shopping cart.  The update order history will show on the order list table.  

How I can write a vb script to refresh the browser on the situation without click on the refresh button from browser?

I wrote a javascript for timer to refresh direct browser, but I like to do the refreshing from server IIS data directory.  or send the script to current browser to refresh automatically by itself.  

I also will pay the compensation if someone will do the plug-in programming for me.
0
Comment
Question by:kaiwuasp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 21

Expert Comment

by:MogalManic
ID: 12406883
This is a not a pay site.  We do our work for FREE.

If you want to pay someone, go to www.rentacoder.com.
0
 
LVL 21

Accepted Solution

by:
MogalManic earned 500 total points
ID: 12406938
To answer your question.

HTML is a stateless connection between client and server.  This means that the server cannot notify the client to update itself.

BUT, what you can do is periodically refresh the page and poll to see if the database is updated:

 <%@ Language=VBScript %>
    <%...DB logic check if order was processed

          IF OrderComplete THEN
               Response.Redirect "OrderComplete.asp"
          ELSE
          Response.Expires = 0
          Response.Buffer = True
          Response.Clear
          Response.AddHeader "Refresh", "10"
         END IF
     %>
    <H1>Processing order...Please wait</H1>

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question