473,795 Members | 3,279 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rendering the page during a delay

My aspx is called from an ASP page. I process the request and then
call another ASP page with a few hidden inputs. Currently, when the
page processes, the user is complaining that my code is running too
fast and that my "Please Wait" page flashes by too quickly. I can't
put an inline wait/sleep command, as the page doesn't refresh until the
code is done running. I've tried using a:
<meta id="mtaRefresh " http-equiv="refresh"
content=""5;url =../Ship/voidShipment.as p""></meta>

but this doesn't pass the hiddens. I know that the state isn't passed,
but as the Response.Write is done, all the values are present. Is
there a way to get the meta-refresh to do the same thing as the onLoad?

I've also tried using Response.Flush in the .vb to dump the wait
message to screen, but that doesn't work either.

I apologize that this may be a bit rambling and unclear, please let me
know if you have any questions about what I'm doing...

Here is how I am currently calling the 2nd ASP page.
myNewPage.Appen d("<body
onLoad=""javasc ript:document.f rmCarryOn.submi t();"">" & vbCrLf)
myNewPage.Appen d("<body>" & vbCrLf)
myNewPage.Appen d("<form method=""post""
action=""../Ship/voidShipment.as p"" name=""frmCarry On"">" & vbCrLf)
myNewPage.Appen d("<input type=""hidden"" name=""Shipment ID""
value=" & Chr(34) & lblShipmentID.T ext & Chr(34) & ">" & vbCrLf)
myNewPage.Appen d("<input type=""hidden"" name=""Tracking Num""
value=" & Chr(34) & lblTrackingNo.T ext & Chr(34) & ">" & vbCrLf)
myNewPage.Appen d("<input type=submit name=""btnSubmi t""
name=""submit"" value=""submit" " style=""visibil ity:hidden"">" &
vbCrLf)
myNewPage.Appen d("</form>" & vbCrLf)
myNewPage.Appen d("</body>" & vbCrLf)

Response.Write( myNewPage.ToStr ing)

Nov 20 '05 #1
0 1226

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3766
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
7
4945
by: wardy | last post by:
Hi, I'm hoping someone can lend me a hand....I've got a .NET Web app running on Windows 2000 IIS 5.0 linking to a SQL Server 2000 database. When the database is located on the same server as the web app, the pages render quickly - however, when I run the app with the database on its own server, the page rendering takes anywhere from 5-8 seconds, and when I enable tracing on the application, it appears to be the begin prerender event that...
4
4126
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering engine. Now I'm looking to build a GUI in python with the rendering engine as an integrated window. I will most likely use wxPython for the GUI and I know it has support for adding an OpenGL canvas. After looking around in these groups and others it...
2
3263
by: Spotnick | last post by:
I have no idea why, but since I'm trying to recreate my website using ASP.NET 2.0 I've encountered so many performance issues that I'm about to give up and continue using v1.1 Seriously, how can a page that is not that complicated be so long to render locally, it's amazing. This is the trace info: aspx.page Begin PreInit
7
1730
by: funfair | last post by:
hi,every one im facing a problem in running access it's about 25 tables 80 forms 46 query (5 append query ,1 update query ,2 delete query ) 60 reports 4 modules after 7 months of perfect working in access 2003 around 8users working in it .i was working with these users in my sharing folder which i know that may corrupt the whole application but from one week i transfer it
8
2506
by: dd | last post by:
Has anyone found a way around the problem IE has if you create elements (script or div, doesn't seem to matter) BEFORE the document.readyState is "complete" ? I know you can sometimes get away with only waiting for "interactive" state, but I've found that on some pages, that can result in a weird error with a dialog box along the lines of "Internet operation aborted error" (or something like that, I haven't seen it for a long time since...
13
4007
by: Marvin Zhang | last post by:
Hi, I'm not familiar with web programming, but I have a problem here. I have a page. When a user click one button on it, I will use AJAX to request a PHP script which will do a bunch of tasks, asynchronously. These tasks might take long time so I want to keep the user informed of the progress. The problem is that only the PHP script knows the progress, how can the web page gets these information from PHP script?
2
2315
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
I have a page that take 10-15 seconds to load up the first time you access it. Once the page loads, it runs super quick, but that initial hit (like after an hour if no one has hit the page) takes a long time to come up. Just to rule out databases, and any other external thing I could think of, I tried creating a website that had nothing but one page. On that page, I put a label that displayed the time when accessed. This page did exactly...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.