Connecting Tech Pros Worldwide Help | Site Map

ASP help

  #1  
Old July 23rd, 2005, 08:49 PM
franklinbruce@gmail.com
Guest
 
Posts: n/a
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, 08:50 PM
Jay
Guest
 
Posts: n/a

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]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
intro about Asp ..help PLEASE............. Tara answers 1 November 8th, 2006 03:19 PM
Need ASP Help Abraham answers 1 November 17th, 2005 06:06 PM
ASP help required Stephen answers 2 July 19th, 2005 12:07 PM
ASP.NET to ASP help converting bytes (xml adf format) to string Girish answers 1 July 19th, 2005 11:57 AM
ASP Help needed *** HAWK answers 4 July 19th, 2005 09:43 AM