Connecting Tech Pros Worldwide Help | Site Map

ASP help

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 07:49 PM
franklinbruce@gmail.com
Guest
 
Posts: n/a
Default ASP help

Hi,
Im using ASP & SQL Server to develop a project. I have done a message
service module where internal user can send message between them. Im
storing that message in a Table and pulling based on USER ID.

Now I want to write a code which need check that message table for
every 10 minutes and give an alert to the user if it found any new
message. This should happen until the user logout.

Any suggestions please let me know. If possible, with an example.
Thanks in advance.
Regards,

Franklin


  #2  
Old July 23rd, 2005, 07:50 PM
Jay
Guest
 
Posts: n/a
Default Re: ASP help


<franklinbruce@gmail.com> wrote in message
news:1116231484.682298.297080@g49g2000cwa.googlegr oups.com...[color=blue]
> Hi,
> Im using ASP & SQL Server to develop a project. I have done a message
> service module where internal user can send message between them. Im
> storing that message in a Table and pulling based on USER ID.
>
> Now I want to write a code which need check that message table for
> every 10 minutes and give an alert to the user if it found any new
> message. This should happen until the user logout.
>
> Any suggestions please let me know. If possible, with an example.
> Thanks in advance.
> Regards,[/color]

Not sure if I read correct but....

User #1 writes message on web page. Submits.
Processing page runs a stored procedure passing a couple of parameters.
1. The message
2. The User ID of the intended recipient.
The SP inserts the message into the table.

Now comes the need for client side info.
Perhaps use frames?
An invisible frame (ASP) that selects from the table where user id = x and
MsgRead = false
If the recordset is not empty then alert the user (this bit is the bit I can
see relevant to this newsgroup).
User 2# acknolodges the alert and something fires to display the message.
Apolgies if I've mistranslated you.

Jay


[color=blue]
> Franklin
>[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.