Click here to Skip to main content
16,004,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi all, i have a scenario in which there are two subscribed users (to database) in my web app.......now if one of it wants to send a message (just like mail but not sms) to another without using any email account...... but with the help of that website and some magical method is it possible, if yes than what would be the magical method could be used to acheive this......I am a new bie therefore asking such questions???
Posted

1 solution

you can put his message and his name into db.table
and then when he log in he can goto mails or page to view msgs he can read your msg and so on
 
Share this answer
 
Comments
Mohammad Azeem 22-Jan-12 10:42am    
Dear dev.mostafa i have think something like this: kindly chk this & tell me
1. First of all i have registered two users say one is admin and the second one is an employee.....

2. Admin wants to send a notification to his employee of any kind, so what he do is to just select the employee's username from drop down list in my webpage and send him a message....and that message will stored in the database notification-table.............

3. On the other hand (employee's end) when he signed in, i will make a query something like that "select * from notification-table where username is equal to the current log-in username" if it has any notifications regarding to him than it was shown in a gridview, and when he clicks the view buton in the gridview his message will be shown to him....That's it...

NOW KINDLY TELL ME THAT WHETHER THE ABOVE PROPOSED SOLUTION IS LOGICAL OR NOT??????/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900