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. Web Development
  3. ASP.NET
  4. Notification alert for ASP.Net Application

Notification alert for ASP.Net Application

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomsysadminlearning
5 Posts 3 Posters 1 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.
  • H Offline
    H Offline
    Het2109
    wrote on last edited by
    #1

    I want to develop an application which will do the following - Notify the user few mins ahead before we shut down server so he can save his work. - Notify user few mins ahead before we bring down the applicaiton so he can save his work. - I don't want to install anything on client side (service, active X etc). - I don't want to put code on every page for doing this. - Today i am implementing it for an application, tomorrow i might want to hook that for other application as well. Any pointers/links/articles/resource in this direction will be greatly appreciated ! Thanks,

    Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

    C A 2 Replies Last reply
    0
    • H Het2109

      I want to develop an application which will do the following - Notify the user few mins ahead before we shut down server so he can save his work. - Notify user few mins ahead before we bring down the applicaiton so he can save his work. - I don't want to install anything on client side (service, active X etc). - I don't want to put code on every page for doing this. - Today i am implementing it for an application, tomorrow i might want to hook that for other application as well. Any pointers/links/articles/resource in this direction will be greatly appreciated ! Thanks,

      Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

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

      If it's an ASP.NET website, you'd need a web page that makes constant AJAX calls to find out if a shutdown is planned. A client side app would be far more suitable.

      Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

      1 Reply Last reply
      0
      • H Het2109

        I want to develop an application which will do the following - Notify the user few mins ahead before we shut down server so he can save his work. - Notify user few mins ahead before we bring down the applicaiton so he can save his work. - I don't want to install anything on client side (service, active X etc). - I don't want to put code on every page for doing this. - Today i am implementing it for an application, tomorrow i might want to hook that for other application as well. Any pointers/links/articles/resource in this direction will be greatly appreciated ! Thanks,

        Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

        A Offline
        A Offline
        ahmedel
        wrote on last edited by
        #3

        Based on your bullet points above, I am guessing you know the users logged into the application. In the event of a needed application or server shutdown, could you send an email notification to logged in users? Another option ... are you using a master pages? You could consider placing a control in the header or footer which could display the status of an application or server shutdown.

        C 1 Reply Last reply
        0
        • A ahmedel

          Based on your bullet points above, I am guessing you know the users logged into the application. In the event of a needed application or server shutdown, could you send an email notification to logged in users? Another option ... are you using a master pages? You could consider placing a control in the header or footer which could display the status of an application or server shutdown.

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

          ahmedel wrote:

          Another option ... are you using a master pages? You could consider placing a control in the header or footer which could display the status of an application or server shutdown.

          That works, except that he seems to me to want to show a notification, he doesn't want the user to have to refresh a page to see it.

          Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

          H 1 Reply Last reply
          0
          • C Christian Graus

            ahmedel wrote:

            Another option ... are you using a master pages? You could consider placing a control in the header or footer which could display the status of an application or server shutdown.

            That works, except that he seems to me to want to show a notification, he doesn't want the user to have to refresh a page to see it.

            Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

            H Offline
            H Offline
            Het2109
            wrote on last edited by
            #5

            I don't want user to refresh the page.

            Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

            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