473,387 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Force ASP code to run entirely, regardless if reload or stop button is hit.

I need to find a way to force all the asp code on a web page to load
regardless if the user hits the reload or stop button on the browser.
I am seeing where more and more users are doing this and it is causing
me some problems on some pages. I would guess there is a way to do
this I am just searching for the wrong thing?

Feb 8 '06 #1
4 1813
AFAIK an ASP page is always executed in its entirety (the server doesn't
know that the stop button has been clicked).

You may want to explain the problem you have so that someone could perhaps
figure the exact cause (which is likely not that). Could it be rather that
the code runs twice (for example if the user "double click" a submit button
?)

--

<gr************@ei8htlegs.net> a écrit dans le message de
news:11**********************@f14g2000cwb.googlegr oups.com...
I need to find a way to force all the asp code on a web page to load
regardless if the user hits the reload or stop button on the browser.
I am seeing where more and more users are doing this and it is causing
me some problems on some pages. I would guess there is a way to do
this I am just searching for the wrong thing?

Feb 8 '06 #2
My issue is on an e-commerce site where I process a transaction and
that transaction gets processed, but the email at the end of the asp
file is never sent out. Usually the user ends up with a duplicate
charge as the transaction gets processed twice but the email
confirmation only gets sent once.

Feb 8 '06 #3
gr************@ei8htlegs.net wrote on 08 feb 2006 in
microsoft.public.inetserver.asp.general:
My issue is on an e-commerce site where I process a transaction and
that transaction gets processed, but the email at the end of the asp
file is never sent out. Usually the user ends up with a duplicate
charge as the transaction gets processed twice but the email
confirmation only gets sent once.


Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at the
top of the article, then click on the "Reply" at the bottom of the article
headers.
<http://www.safalra.com/special/googlegroupsreply/>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 8 '06 #4
The page just asks the SMTP server to send the mail and continues to run
(ie. the control flow continues as soon as the request to the STMTP server
is done, not once the SMTP server has really sent the mail).

So it's likely a problem on the SMTP server side. I would check the log or
the appropriate directories to get some information on those bad mails...

--
Patrice

<gr************@ei8htlegs.net> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
My issue is on an e-commerce site where I process a transaction and
that transaction gets processed, but the email at the end of the asp
file is never sent out. Usually the user ends up with a duplicate
charge as the transaction gets processed twice but the email
confirmation only gets sent once.

Feb 9 '06 #5

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

Similar topics

4
by: Martin | last post by:
This is probably more of an HTML question than PHP. Perhaps someone here can answer or point me to a proper newsgroup. How can I force the browser to reload an image from the server? I have a...
53
by: Bill | last post by:
Hello Programmers, I am looking for either Java Script (OR HTML etc) to DEFEAT Pop-up Stoppers e.g It will bring up a window that will LOOK like a Pop-up FEEL like a Pop-up Allow a name and...
3
by: Pint | last post by:
I would like to know if there is a programatic way to force the Application object to restart. I have a hosted website where I will be unable to control the webserver (eg:iisreset), and I would...
0
by: comp.lang.php | last post by:
I have a form that when you click the "Generate Report" submit button, it will force download a CSV file, required for this project. On the very same page you also have a "Search" submit button,...
3
by: jshanman | last post by:
If I try to put a site into an iframe that has "escape frame" code in its source (posted below), it will reload the requested page into the parent instead of the iframe. Is there a way to prevent...
3
by: UJ | last post by:
Is there any way I can have a page reload itself where it will completely reload from scratch. I have a condition where a person click a button and the easiest way to handle it would be to have the...
5
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I force a reload from the server/prevent caching?...
3
by: COHENMARVIN | last post by:
I have a button in my asp.net page (actually its in a user control with a .ASCX suffix) called btnGetData. I'm trying to make it force a refresh of my page. So what I did was make it call...
2
by: =?Utf-8?B?U2lsa0NpdHlGbG9yaWRh?= | last post by:
I have a web page "PgA" with a GridView. I open another page "PgB" in a new window. On PgB, they do some things that affect the underlying data for the GridView on PgA. When the user is done...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
jinu1996
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 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.