I have a search page with upteen boxes that they can choose to fill out and
my second page gets the values and passes them to a stored procedure which
builds the SQL string and returns the recordset.
On this second page i have it so that when a long search is taking place a
layer is shown saying "Search in progress .... Please wait". However since
i changed to a stored procedure it takes a length of time before the page
submits by which time the search is more or less complete. How do i get it
to submit almost immediately so my wait message appears. I have
response.buffer = true at the top of my page, on some pages i have redirects
before processing is complete and all the page settings are in a .inc file
which i place at the top of my page using server.execute Will i need to set
the buffer to false, not entirely sure what this does, except that you need
to set to true to redirect before processing ends to avoid errors.
TIA 3 1710
wait messages are a tricky thing. You are working against the natural
workings of www.
That said, how are you doing this?
Try somethign like this instead perhaps.... http://www.darkfalz.com/1058
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Steven Scaife" <sp@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... I have a search page with upteen boxes that they can choose to fill out and my second page gets the values and passes them to a stored procedure which builds the SQL string and returns the recordset.
On this second page i have it so that when a long search is taking place a layer is shown saying "Search in progress .... Please wait". However since i changed to a stored procedure it takes a length of time before the page submits by which time the search is more or less complete. How do i get it to submit almost immediately so my wait message appears. I have response.buffer = true at the top of my page, on some pages i have redirects before processing is complete and all the page settings are in a .inc file which i place at the top of my page using server.execute Will i need to set the buffer to false, not entirely sure what this does, except that you need to set to true to redirect before processing ends to avoid errors.
TIA
Basically it works exactly the same as the darkfalz one, but missing
response.flush, now i have added response.flush and its fine again
thanks a lot
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:u4**************@tk2msftngp13.phx.gbl... wait messages are a tricky thing. You are working against the natural workings of www. That said, how are you doing this? Try somethign like this instead perhaps.... http://www.darkfalz.com/1058
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Steven Scaife" <sp@nospam.com> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl...I have a search page with upteen boxes that they can choose to fill out
and my second page gets the values and passes them to a stored procedure
which builds the SQL string and returns the recordset.
On this second page i have it so that when a long search is taking place
a layer is shown saying "Search in progress .... Please wait". However since i changed to a stored procedure it takes a length of time before the
page submits by which time the search is more or less complete. How do i get it to submit almost immediately so my wait message appears. I have response.buffer = true at the top of my page, on some pages i have redirects before processing is complete and all the page settings are in a .inc
file which i place at the top of my page using server.execute Will i need to set the buffer to false, not entirely sure what this does, except that you need to set to true to redirect before processing ends to avoid errors.
TIA
I would try also to display the message client side once the submit button
is hit (hide the form, show the message DIV). This way adding this feature
doesn't require anything server side, no flush, no structure, nothing...
Patrice
--
"Steven Scaife" <sp@nospam.com> a écrit dans le message de
news:Or**************@TK2MSFTNGP11.phx.gbl... Basically it works exactly the same as the darkfalz one, but missing response.flush, now i have added response.flush and its fine again
thanks a lot
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:u4**************@tk2msftngp13.phx.gbl... wait messages are a tricky thing. You are working against the natural workings of www. That said, how are you doing this? Try somethign like this instead perhaps.... http://www.darkfalz.com/1058
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Steven Scaife" <sp@nospam.com> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl...I have a search page with upteen boxes that they can choose to fill out and my second page gets the values and passes them to a stored procedure which builds the SQL string and returns the recordset.
On this second page i have it so that when a long search is taking
place a layer is shown saying "Search in progress .... Please wait". However since i changed to a stored procedure it takes a length of time before the page submits by which time the search is more or less complete. How do i
get it to submit almost immediately so my wait message appears. I have response.buffer = true at the top of my page, on some pages i have redirects before processing is complete and all the page settings are in a .inc
file which i place at the top of my page using server.execute Will i need
to set the buffer to false, not entirely sure what this does, except that you need to set to true to redirect before processing ends to avoid errors.
TIA
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ashish Shridharan |
last post by:
Hi All
I have been trying to add a control to the header cell of
a datagrid on my ASP.NET page. These controls are defined
in the HTML as ASP.NET web controls.
They are being added into the...
|
by: HolaGoogle |
last post by:
hi all,
can you please tell me what i should do to avoid session timeout when
displaying my database info in my asp form
(DisplayUserDatabase.asp)???
** actualy it does load and display the...
|
by: HANG LAM |
last post by:
Hi,
Simple question, Is there a way to post the data from one .aspx page
to another page ?
For example, I have a Page1.aspx that lets the user enter data like
"Last Name", "First Name", but...
|
by: Andrew Phillipo |
last post by:
I have a layout which works perfectly. It is three column, the central
column is width:auto; with margins and the columns are absolutely
positioned at top:0px; left:0px; and top:0px;right:0px;
...
|
by: Ivan Demkovitch |
last post by:
Hi!
I have Portal application which is on http. However I like to do user
authentification using SSL
I like approach most sites use:
They have
<form name="loginForm" action="https://sss"...
|
by: Galina |
last post by:
Hello
I have 6 dependent list boxes on my ASP page:
Faculty;
Lecturer;
Course;
Course occurrence;
Group;
Week commencing date.
When faculty is selected, lists of lecturers and...
|
by: craigkenisston |
last post by:
So, I wanted to implement a very, very basic job posting capability to
one of my website. I made some searches and I found there is a JOBS
STARTER KIT !!
Wow, "it's my lucky", I thought.
I...
|
by: Bruce Wood |
last post by:
This subject has come up several times in this group over the last
year. Several people in this group seem to feel strongly about this
topic. Rather than derail other threads with this discussion,...
|
by: gnawz |
last post by:
Hi guys,
I have a couple of php files that perform various tasks.
I will use fields in my system and provide code as well
I need help as follows:
My database contains the fields Category...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
|
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...
|
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,...
|
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...
| |