If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Multiple user access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-04-04, 10:09
crazyreds crazyreds is offline
Registered User
 
Join Date: Jul 2004
Posts: 10
Multiple user access

Hi

I use ASP to display and edit data from my MS SQL DB, many users need to have access to the same data. But only one can have write access to the same records at the time, who do i solve this problem?
The other users should get the records in read only.

Brian Jensen
Reply With Quote
  #2 (permalink)  
Old 08-04-04, 15:49
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
You need to use a LockType parameter when you write data to database, i.e., adLockPessimistic lock.
Reply With Quote
  #3 (permalink)  
Old 08-09-04, 21:05
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
<%Response.Buffer = True%>

Buffer That Output by Charles Carroll
http://www.learnasp.com/advice/whybuffer.asp
Buffering is enabled by default starting in IIS 5, but one must still do it manually in IIS 4.
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
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