Clicking post button and then stop button on browser
-
Chris even though the majority of the time you won't fix this i know that in PHP I can check if the connection to the server was terminated. Does ASP have a similar feature?
Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer
There is "IsClientConnected" available. So check that before actually posting the message? The problem there is that it's very unreliable. If the message has been submitted then there's a small and random window of opportunity to bail out.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
There is "IsClientConnected" available. So check that before actually posting the message? The problem there is that it's very unreliable. If the message has been submitted then there's a small and random window of opportunity to bail out.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Well that could provide a small amount of protection, but if you were serious about it you could roll back on termination. But yeah it wouldn't take much to make a small check that would eliminate a small amount of it. Also one other thing, for Shogs CPhog do you provide him a API or does he just go through the normal process?
Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer
-
A***** wrote:
In otherwords it can't be fixed then?
man, you fix bugs... here, the behavior is normal (as Chris told). BTW, what do you think the "Modify" link exist for ? ;P
[VisualCalc][Binary Guide updated! ][CommDialogs new! ] | [Forums Guidelines]
-
Well that could provide a small amount of protection, but if you were serious about it you could roll back on termination. But yeah it wouldn't take much to make a small check that would eliminate a small amount of it. Also one other thing, for Shogs CPhog do you provide him a API or does he just go through the normal process?
Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer
Bradml wrote:
Also one other thing, for Shogs CPhog do you provide him a API or does he just go through the normal process?
CPhog uses client side stuff - Chris hasn't given Shog any special API as far as I know :-)
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*) -
A***** wrote:
In otherwords it can't be fixed then?
There's nothing to fix there, it's not a bug.
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*) -
Bradml wrote:
Also one other thing, for Shogs CPhog do you provide him a API or does he just go through the normal process?
CPhog uses client side stuff - Chris hasn't given Shog any special API as far as I know :-)
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*) -
Chris even though the majority of the time you won't fix this i know that in PHP I can check if the connection to the server was terminated. Does ASP have a similar feature?
Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer
sending is usually much faster than retriving the response page. so it LOOKS as it is still posting, but in reality, the message is already posted.
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
sending is usually much faster than retriving the response page. so it LOOKS as it is still posting, but in reality, the message is already posted.
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
sending is usually much faster than retriving the response page. so it LOOKS as it is still posting, but in reality, the message is already posted.
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!Oh sorry, for some reason I thought you replied to the question about a custom API for Shog. But that is not what this is about, this is about pressing the stop button. When you press that it will terminate the connection to the server and so Chris can assume the post is no longer required.
Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer
-
Oh sorry, for some reason I thought you replied to the question about a custom API for Shog. But that is not what this is about, this is about pressing the stop button. When you press that it will terminate the connection to the server and so Chris can assume the post is no longer required.
Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer
What I meant is that when you press the "STOP" button, the message was already sent to the server, the server redirected you to your new post, but the browser is still busy fetching them.
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!