Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Clicking post button and then stop button on browser

Clicking post button and then stop button on browser

Scheduled Pinned Locked Moved Site Bugs / Suggestions
23 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A A

    I don't know whether you are aware of this, or whether this can be fixed, but when you write a message and click on the 'Post Message' button and then click the stop button on your browser the message is still posted. So if you have made a mistake (I know I can use the preview button, to view what i am posting before I post it!) it is posted regardless of the fact that you have pressed the stop button on your browser. This can lead to multiple posts, because the user cannot see whether it was posted or not without having to open there browser and direct it to CP again.

    E Offline
    E Offline
    Eytukan
    wrote on last edited by
    #8

    Hey! :-D it's like asking : "I typed a message, and I suddenly clicked on the close('x') button of the IE window, it just got closed. Can you do something to fix it?";P


    Press: 1500 to 2,200 messages in just 6 days? How's that possible sir? **Dr.Brad :**Well,I just replied to everything Graus did and then argued with Negus for a bit.

    B 1 Reply Last reply
    0
    • S Shog9 0

      You need a slower connection...

      ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.3 - Syntax highlighting for code blocks in the forums

      A Offline
      A Offline
      A
      wrote on last edited by
      #9

      1.5 mb/s is slow enough for me.:-D

      B 1 Reply Last reply
      0
      • E Eytukan

        Hey! :-D it's like asking : "I typed a message, and I suddenly clicked on the close('x') button of the IE window, it just got closed. Can you do something to fix it?";P


        Press: 1500 to 2,200 messages in just 6 days? How's that possible sir? **Dr.Brad :**Well,I just replied to everything Graus did and then argued with Negus for a bit.

        B Offline
        B Offline
        Bradml
        wrote on last edited by
        #10

        Install an anti-idiot filter?


        Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer

        E 1 Reply Last reply
        0
        • A A

          1.5 mb/s is slow enough for me.:-D

          B Offline
          B Offline
          Bradml
          wrote on last edited by
          #11

          That is about the collective Australian bandwidth...


          Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

          E 1 Reply Last reply
          0
          • B Bradml

            Install an anti-idiot filter?


            Brad Australian - Bradml on "MVP Status" If this was posted in a programming board please rate my answer

            E Offline
            E Offline
            Eytukan
            wrote on last edited by
            #12

            Bradml wrote:

            Install an anti-idiot filter?

            Yup a plug-in.


            Press: 1500 to 2,200 messages in just 6 days? How's that possible sir? **Dr.Brad :**Well,I just replied to everything Graus did and then argued with Negus for a bit.

            1 Reply Last reply
            0
            • B Bradml

              You can switch to telnet....


              Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

              S Offline
              S Offline
              S Douglas
              wrote on last edited by
              #13

              Bradml wrote:

              You can switch to telnet

              Tried, the CP servers didn't like it. :)


              I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:

              1 Reply Last reply
              0
              • B Bradml

                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

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #14

                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

                B 1 Reply Last reply
                0
                • C Chris Maunder

                  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

                  B Offline
                  B Offline
                  Bradml
                  wrote on last edited by
                  #15

                  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

                  N 1 Reply Last reply
                  0
                  • A A

                    In otherwords it can't be fixed then?

                    T Offline
                    T Offline
                    toxcct
                    wrote on last edited by
                    #16

                    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]

                    1 Reply Last reply
                    0
                    • B Bradml

                      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

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #17

                      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*)

                      B 1 Reply Last reply
                      0
                      • A A

                        In otherwords it can't be fixed then?

                        N Offline
                        N Offline
                        Nish Nishant
                        wrote on last edited by
                        #18

                        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*)

                        1 Reply Last reply
                        0
                        • N Nish Nishant

                          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*)

                          B Offline
                          B Offline
                          Bradml
                          wrote on last edited by
                          #19

                          Well that explains how sometimes the posts just hang....


                          Brad Australian - bryce on "Problems with Code Project" *sigh* Maunder's been coding again...

                          1 Reply Last reply
                          0
                          • B Bradml

                            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

                            P Offline
                            P Offline
                            peterchen
                            wrote on last edited by
                            #20

                            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!

                            B 2 Replies Last reply
                            0
                            • P peterchen

                              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!

                              B Offline
                              B Offline
                              Bradml
                              wrote on last edited by
                              #21

                              Yep. One benefit a custom gateway would provide is much lower loading times for the client.


                              Brad Australian - Captain See Sharp on "Religion" any half intelligent person can come to the conclusion that pink unicorns do not exist.

                              1 Reply Last reply
                              0
                              • P peterchen

                                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!

                                B Offline
                                B Offline
                                Bradml
                                wrote on last edited by
                                #22

                                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

                                P 1 Reply Last reply
                                0
                                • B Bradml

                                  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

                                  P Offline
                                  P Offline
                                  peterchen
                                  wrote on last edited by
                                  #23

                                  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!

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups