Web Notifications - 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 > Programming > Other Programming - Perl, C++, Java, ASP, .NET Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-21-2009, 08:09 PM   #1 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default Web Notifications

Hey -

So I am working on developing a notification system for my classifieds website. If a user searches for an item and it doesn't exist yet in the classifieds, the user has the option of being notified when the item is added to the database.

Should I go about this as follows? :

Whenever a user uploads an item, the upload stored procedure should also call another procedure to check if the item matches any items in the notifications table of the database.

If there is a match between both items, the user will be notified. Should I create a procedure that upon an item being uploaded, the script will check if it should notify, and return true to my asp page. When true, the codebehind will send an email from the asp page itself.

Is this the best way to do this?

Is there a way for the database itself to send an email? Or should this all be on the asp server side of things?

Last edited by ajwhite; 10-21-2009 at 09:59 PM.
ajwhite is offline   Reply With Quote
Sponsored Links
Old 10-22-2009, 11:02 PM   #2 (permalink)
Junior Member
 
Join Date: Oct 2009
Location: New York
Posts: 5
Send a message via AIM to Gregorio Send a message via MSN to Gregorio
Default Re: Web Notifications

Try doing it all on the asp server side. Test if it works if not come back and post if it doesn't. Other than that you can wait till a more knowledge person other than me to reply to this thread and help you out.
Gregorio is offline   Reply With Quote
Old 10-23-2009, 10:50 AM   #3 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default Re: Web Notifications

hmm well it will definitely work on the codebehind. If I have the stored procedure return true, then I can have it execute the send code in the codebehind. that will work. I just am wondering if I can skip that step and do this all from the database, and if it should be done whenever a user uploads a book or if it should be a reoccurring script to check for new uploads that matches notifications
ajwhite is offline   Reply With Quote
Reply

Tags
asp , database , notifications , sql

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 06:55 PM.


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