Notify user when item exists in database - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Databases - MySQL, SQL, Oracle, Access and others

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-23-2009, 11:32 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default Notify user when item exists in database

I'm working on a piece for my project. My client would like a user to be notified on their cell or email when something appears in the database that doesn't already exist

How is the best way to go about this?
Should I run a stored procedure whenever an item is added to the database, which will check if that item added is matched to the one the user wants to be notified on?

Or should I have a stored procedure that runs every day to check for new items with matched notifications?

Lastly, I know how to send emails on my asp page, and I have heard you can do the same on SQL.
This will make the difference as to how to check for matches as well.
IF I can only send them from the asp page, then I will have to have a script that runs whenever a user uploads a book, because the interaction with that page will trigger the script, a procedure constantly running can't reach an asp page on its own to send the email via page.

So, can I have a stored procedure send an email? I think I'd prefer this? First of all it won't allocate towards any lag time client side when uploading a book, I like that.
If I can send an email via database, can someone share with me how that will look? Do I use a localhost for SMTP?
ajwhite is offline   Reply With Quote
Sponsored Links
Old 10-28-2009, 02:52 PM   #2 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default Re: Notify user when item exists in database

Quote:
Originally Posted by parul1234 View Post
you need to write a crawler which checks for the data after a particular site interval
So this would be a script that automatically runs? or is triggered by a user's interaction?

How do you have a script get triggered without a client?
ajwhite is offline   Reply With Quote
Old 11-15-2009, 04:45 AM   #3 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 10
Exclamation President of the most high-end jewelry (8)

cvduuhcvcletfse
occ546176 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 07:32 AM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting