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 January 14th, 2004, 06:10 AM
Authorized User
 
Join Date: Oct 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with redirecting users

Hi

I'm trying to redirect users if the the database, connected to the webpage the users are trying to access, is being updated. An ideas on how i can go about doing this? I haven't got a clue where to start.

I've written an SQL query into the webpage so when they access the page the query is run to fill out text boxes on the page.

Any help on this issue is much appreceiated.

Sach
 
Old January 16th, 2004, 12:29 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What type of database is it? How are you going to define "being updated"? If it's access then a simple "cannot open the file because it is being used by another process" error would determine that it's being updated (do you also get this error when another process is reading it?). Perhaps you could trap that error as the "it's updating" condition.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
redirecting users t0r3ad0r ASP.NET 1.0 and 1.1 Professional 1 October 5th, 2006 10:32 PM
Redirecting Users anshul Pro PHP 1 April 3rd, 2004 04:31 PM
Redirecting logged on Users fletched PHP How-To 1 March 25th, 2004 06:42 PM
Redirecting logged in users zicaden Beginning PHP 3 September 6th, 2003 02:41 AM





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