How to send notification to the client

Posted on 2011-10-06
Last Modified: 2012-08-14
Hello Guys,

In my i have a Session ID of my clients. I would like to know how if it possible send some notification to the client from the server.

Ex.. My client Is using the system normally, but he need to receive some kind of notification from the server ( could be a new user who has login in that moment ). Does any one have a idea ?

In Windows forms i could use EVENTS but in how does it works ?

Thanks Guys
Question by:Mortarello
    LVL 28

    Accepted Solution

    You can't do this since a .Net web request is stateless; however, you can mimic what you are trying to do with AJAX. You need to add a javascript function that calls itself every x number of seconds and performs an AJAX request to the server to get the notification.

    This isn't the server forcing an update to the page, but rather the page forcing a request (without user intervention) to the server.

    Author Comment

    Hi strickdd,

    Thanks for the tips.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now