Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 12th, 2005, 04:20 AM
Registered User
 
Join Date: Sep 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default large recordsets - asp page repeating

HI,

I have a website that matches products with members, e.g. members post a new product for sale and members can then search and buy those products. There is also an email alert service, sent at the end of each day, where newly added products are matched to registered users preferences and an email is sent to them with an aggregated list.
We can get up to 200 new products a day and ahve around 2000 registered users, and about 1000 email sent each day.
What happens is that an asp page is run where it selects all new added products and then another record set of all registered users, the page then loops through both record sets and compiles an email for each user. Some emails can be up to 100Kb. We have set a server timeout to 1 hour but it ussually takes about 5 mins to run (this will grow as we acquire more registered users).

The problem that I am having is that when I run the page, if we have a lot of new products e.g. 250, the page keeps re-running so registered users can receive the same email up to 3 times. We have run the script on our local development server and it runs fine and only once. Why would the page run three times is it something to do with our hosting companies settings on IIS? is there a better way to do this? Could it be down to the fact taht it is a very server intensive process, so the server administrator is blocking it or something?

Any help or clues would be greatly appreciated.

Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeating Banner in web page ychange Dreamweaver (all versions) 2 March 11th, 2007 01:32 PM
Repeating image in middle of a page ychange Javascript How-To 1 March 11th, 2007 03:45 AM
large excel pane on mcms page enasc General .NET 0 February 1st, 2007 12:53 PM
large excel pane on mcms page enasc General .NET 0 February 1st, 2007 12:49 PM
Help with large amount of text and page breaks rwodabek BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 May 12th, 2006 07:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.