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. General Programming
  3. .NET (Core and Framework)
  4. Refresh or back button problem???????

Refresh or back button problem???????

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpsysadminquestion
3 Posts 3 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.
  • N Offline
    N Offline
    Nithin Krishna
    wrote on last edited by
    #1

    Hi friends, am developing a webservice and one problem am facing is that when an error occured due to coding or network getting an error page, at that time pressing the refresh button again the same rquest is sending to the server. I don't want this. So suggest some ways to solve this, means how we can redirect the page to another while refereshing the page or disabling the refresh button... Please help me........ Rgds Nithin

    V C 2 Replies Last reply
    0
    • N Nithin Krishna

      Hi friends, am developing a webservice and one problem am facing is that when an error occured due to coding or network getting an error page, at that time pressing the refresh button again the same rquest is sending to the server. I don't want this. So suggest some ways to solve this, means how we can redirect the page to another while refereshing the page or disabling the refresh button... Please help me........ Rgds Nithin

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      You can use AJAX to accomplish this. This would control the HttpRequests.

      Vasudevan Deepak Kumar Personal Homepage Tech Gossips

      1 Reply Last reply
      0
      • N Nithin Krishna

        Hi friends, am developing a webservice and one problem am facing is that when an error occured due to coding or network getting an error page, at that time pressing the refresh button again the same rquest is sending to the server. I don't want this. So suggest some ways to solve this, means how we can redirect the page to another while refereshing the page or disabling the refresh button... Please help me........ Rgds Nithin

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        This is not a web service, a web service has no UI You can't do it.  If you refresh, it will send a request to the server.  If the server then redirects to another page, that's another question. Or, did I misunderstand you ?

        Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

        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