473,714 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What will happen..

Question related to ASP.Net web application with .Net Framework 1.1. I am
using ADO.Net and ODBC namespace.

When the user clicks the process button I am doing database INSERT/UPDATRE..
activity and it will take 30 seconds to complete the database activity and
then the user will be redirected to different screen.

My question is during that 30 seconds user can close the browser by clicking
the cross mark in the IE title bar. What will happen to the data posting.
All the data will be posted?

Please advice.

Anil


Nov 18 '05 #1
4 1356
All the data will be posted.

"Anil" <An*********@ho tmail.com> wrote in message
news:ud******** ******@TK2MSFTN GP11.phx.gbl...
Question related to ASP.Net web application with .Net Framework 1.1. I am
using ADO.Net and ODBC namespace.

When the user clicks the process button I am doing database INSERT/UPDATRE.. activity and it will take 30 seconds to complete the database activity and
then the user will be redirected to different screen.

My question is during that 30 seconds user can close the browser by clicking the cross mark in the IE title bar. What will happen to the data posting.
All the data will be posted?

Please advice.

Anil

Nov 18 '05 #2
I think all data will be lost.

You may need to start a new thread, so that people can click some other
links, but all the data will still be posted.

--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com

"Alan Corbett" <al*********@ho tmail.com> wrote in message
news:%2******** *******@TK2MSFT NGP09.phx.gbl.. .
All the data will be posted.

"Anil" <An*********@ho tmail.com> wrote in message
news:ud******** ******@TK2MSFTN GP11.phx.gbl...
Question related to ASP.Net web application with .Net Framework 1.1. I am using ADO.Net and ODBC namespace.

When the user clicks the process button I am doing database

INSERT/UPDATRE..
activity and it will take 30 seconds to complete the database activity and then the user will be redirected to different screen.

My question is during that 30 seconds user can close the browser by

clicking
the cross mark in the IE title bar. What will happen to the data posting. All the data will be posted?

Please advice.

Anil


Nov 18 '05 #3
it will depend on how the page is coded. if buffering is on, the website
will not detect the close until it writes the response. if buffering is off,
and your page flushes data to the browser, then an error will be thrown.,
and the request will not be completed.

also if the user gets bored, and clicks the submit again, or does a refesh,
the postback will run again. be sure to code for this case.

-- bruce (sqlwork.com)


"Anil" <An*********@ho tmail.com> wrote in message
news:ud******** ******@TK2MSFTN GP11.phx.gbl...
Question related to ASP.Net web application with .Net Framework 1.1. I am
using ADO.Net and ODBC namespace.

When the user clicks the process button I am doing database INSERT/UPDATRE.. activity and it will take 30 seconds to complete the database activity and
then the user will be redirected to different screen.

My question is during that 30 seconds user can close the browser by clicking the cross mark in the IE title bar. What will happen to the data posting.
All the data will be posted?

Please advice.

Anil

Nov 18 '05 #4
CASE 1. If the user clicks the Refresh Button again not sure how to handle
this. OK You said through code.

Will it stop the thread (process) started by clicking the process button or
will it be a new request?

CASE2: I am capturing the clicked event at the client side and if the
previous clicked events processing are not ended (using a hidden variable
for which I can access its value from server and client side.) then I am
setting this event to false using

event.returnVal ue = false;

-- Anil
"bruce barker" <no***********@ safeco.com> wrote in message
news:eX******** ******@tk2msftn gp13.phx.gbl...
it will depend on how the page is coded. if buffering is on, the website
will not detect the close until it writes the response. if buffering is off, and your page flushes data to the browser, then an error will be thrown.,
and the request will not be completed.

also if the user gets bored, and clicks the submit again, or does a refesh, the postback will run again. be sure to code for this case.

-- bruce (sqlwork.com)


"Anil" <An*********@ho tmail.com> wrote in message
news:ud******** ******@TK2MSFTN GP11.phx.gbl...
Question related to ASP.Net web application with .Net Framework 1.1. I am using ADO.Net and ODBC namespace.

When the user clicks the process button I am doing database

INSERT/UPDATRE..
activity and it will take 30 seconds to complete the database activity and then the user will be redirected to different screen.

My question is during that 30 seconds user can close the browser by

clicking
the cross mark in the IE title bar. What will happen to the data posting. All the data will be posted?

Please advice.

Anil


Nov 18 '05 #5

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

Similar topics

92
6490
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? cheers, reed
18
2942
by: Xiangliang Meng | last post by:
Hi. void setValue(int n) { int size = getValueLength(); int buffer_p; if (buffer_p) { ....
25
3091
by: Nitin Bhardwaj | last post by:
Well, i'm a relatively new into C( strictly speaking : well i'm a student and have been doing & studying C programming for the last 4 years).....and also a regular reader of "comp.lang.c" I don't have a copy of ANSI C89 standard,therefore i had to post this question: What is the difference between "unspecified" behaviour & "undefined" behaviour of some C Code ??
53
4076
by: Deniz Bahar | last post by:
I know the basic definition of a sequence point (point where all side effects guaranteed to be finished), but I am confused about this statement: "Between the previous and next sequence point an object shall have its stored value modified at most once by the evaluation of an expression. Furthermore, the prior value shall be accessed only to determine the value to be stored." Can someone give me examples of expressions that "barely"...
13
1517
by: param | last post by:
The following C program segfaults on 64 bit Arch., but works fine on 32 bit. int main() { int* p; p = (int*)malloc(sizeof(int)); *p = 10; return 0; }
13
5045
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
67
3780
by: neilcancer | last post by:
i come from china,and i'm sorry that my english is very poor. now i'm studing data structure and i met some problem about c language. could you tell me what will happen after i use free()? i mean once i use free() on a pointer,what will the pointer points to ? for example: #include<stdio.h>
16
2026
by: Mr. Ken | last post by:
Left shift by negative numbers, will I get 1/2? Thanks.
11
1505
by: active | last post by:
If I install .NET Framework 3.0 what will happen to my VS2005 experience? Will it automatically use 3.0? Will I find new features available? Will the VS doc be updated? Thanks fir any info
8
1605
by: Raistlin Majere | last post by:
at test.php is... <form action = "test1.php" method = "POST"> <p> <b>Interests:</b> <br> <input type = "Checkbox" name = "interests" value = "politics">Politics <input type = "Checkbox" name = "interests" value = "economy">Economy
0
8707
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9314
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...
0
9174
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9074
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
9015
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
5947
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3158
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
2520
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2110
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.