473,405 Members | 2,187 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,405 software developers and data experts.

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 1345
All the data will be posted.

"Anil" <An*********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP11.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*********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
All the data will be posted.

"Anil" <An*********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP11.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*********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP11.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.returnValue = false;

-- Anil
"bruce barker" <no***********@safeco.com> wrote in message
news:eX**************@tk2msftngp13.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*********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP11.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
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?...
18
by: Xiangliang Meng | last post by:
Hi. void setValue(int n) { int size = getValueLength(); int buffer_p; if (buffer_p) { ....
25
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...
53
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...
13
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
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
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...
16
by: Mr. Ken | last post by:
Left shift by negative numbers, will I get 1/2? Thanks.
11
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...
8
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
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...
0
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...
0
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,...

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.