Pop-up messages how?

Discussion in 'ASP .Net' started by Guy Dillen, Nov 13, 2004.

  1. Guy Dillen

    Guy Dillen Guest

    i'm developing an ASP.NET C# application where you need to have the
    possibility selecting a user (in a list) and sending him/her a
    (text)message. The message sent should popup (or be listed) at the
    recipients side.
    What is the best way to achieve this (Peer2Peer system, storing the message
    in SQL Server, ...)?
    Thanks for any info.

    Guy
     
    Guy Dillen, Nov 13, 2004
    #1
    1. Advertising

  2. Guy Dillen

    Scott Allen Guest

    P2P would be the way to make this happen in (near) real time.

    With ASP.NET you would need a page that is just going to sit and
    refresh every x seconds. There is no way for a web server to reach out
    to the client and tell them a message has arrived, the client has to
    poll the server.

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    On Sat, 13 Nov 2004 12:44:59 +0100, "Guy Dillen"
    <> wrote:

    >i'm developing an ASP.NET C# application where you need to have the
    >possibility selecting a user (in a list) and sending him/her a
    >(text)message. The message sent should popup (or be listed) at the
    >recipients side.
    >What is the best way to achieve this (Peer2Peer system, storing the message
    >in SQL Server, ...)?
    >Thanks for any info.
    >
    >Guy
    >
     
    Scott Allen, Nov 13, 2004
    #2
    1. Advertising

  3. The typical approach would be to wrap the alerter service and send via NET
    SEND. Search google for some examples.

    Regards

    John

    "Guy Dillen" <> wrote in message
    news:4195f3bc$0$21224$...
    > i'm developing an ASP.NET C# application where you need to have the
    > possibility selecting a user (in a list) and sending him/her a
    > (text)message. The message sent should popup (or be listed) at the
    > recipients side.
    > What is the best way to achieve this (Peer2Peer system, storing the

    message
    > in SQL Server, ...)?
    > Thanks for any info.
    >
    > Guy
    >
    >
     
    John Timney \(ASP.NET MVP\), Nov 13, 2004
    #3
  4. Guy Dillen

    Guy Dillen Guest

    Scott,

    What about:
    1. storing the popup messages in a SQL Server db, and when refreshing the a
    page pop-up'ing the respective messages?
    or
    2. using Application state?

    Guy


    "Scott Allen" <bitmask@[nospam].fred.net> wrote in message
    news:...
    > P2P would be the way to make this happen in (near) real time.
    >
    > With ASP.NET you would need a page that is just going to sit and
    > refresh every x seconds. There is no way for a web server to reach out
    > to the client and tell them a message has arrived, the client has to
    > poll the server.
    >
    > --
    > Scott
    > http://www.OdeToCode.com/blogs/scott/
    >
    > On Sat, 13 Nov 2004 12:44:59 +0100, "Guy Dillen"
    > <> wrote:
    >
    >>i'm developing an ASP.NET C# application where you need to have the
    >>possibility selecting a user (in a list) and sending him/her a
    >>(text)message. The message sent should popup (or be listed) at the
    >>recipients side.
    >>What is the best way to achieve this (Peer2Peer system, storing the
    >>message
    >>in SQL Server, ...)?
    >>Thanks for any info.
    >>
    >>Guy
    >>

    >
     
    Guy Dillen, Nov 20, 2004
    #4
  5. Guy Dillen

    Scott Allen Guest

    Using the database would be a robust approach. Application state keeps
    all the entries in memory, as soon as someone changes the web.config
    file and restarts the web application all the messages are gone.

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    On Sat, 20 Nov 2004 17:23:18 +0100, "Guy Dillen"
    <> wrote:

    >Scott,
    >
    >What about:
    >1. storing the popup messages in a SQL Server db, and when refreshing the a
    >page pop-up'ing the respective messages?
    >or
    >2. using Application state?
    >
    >Guy
    >
    >
     
    Scott Allen, Nov 21, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guy Dillen

    Re: Pop-up messages how?

    Guy Dillen, Nov 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    438
    Guy Dillen
    Nov 20, 2004
  2. Guy Dillen

    Re: Pop-up messages how?

    Guy Dillen, Nov 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    457
    Guy Dillen
    Nov 20, 2004
  3. Replies:
    2
    Views:
    8,606
    Randy Webb
    Feb 4, 2006
  4. Bone Ur
    Replies:
    4
    Views:
    422
    Bone Ur
    Dec 19, 2007
  5. Chris Davoli

    Tool Tip pop up - pop up time is too short

    Chris Davoli, Feb 24, 2009, in forum: ASP .Net
    Replies:
    1
    Views:
    502
    Lee Atkinson
    Feb 24, 2009
Loading...

Share This Page