|
-
August 30th, 2001, 03:38 AM
#1
Multiple User
hi
i am about to start a project
under which i will have 1 server and 10 clients
my back end which access while be on the server
now i want all of them to access my back end at the same time. with different ID and password
all the clients will have different ID
can any one help me regarding this
thanx
-
August 30th, 2001, 03:56 AM
#2
Re: Multiple User
u say that 10 clients will have differnet id then what is your back end if it is either oracle or sql server then you can create the user id in your back end then when the user logs on to ur application he has to provide that userid and pwd then you connect the database using that user id and password.so you should maintain same userid and pwd for both front end and back end.
to provide userid and pwd you have the facility while setting up the connect string.
if you like to have more info then let me know what backend your are using which utility ur using i mean dao,ado e.t.c
-
August 30th, 2001, 03:56 AM
#3
Re: Multiple User
I suggest U to have an ActiveX exe project with pool threads=1.
'-- activex --
'//bas module
'///basSever
public MyServer as new coServer
'///
'//class module
'////class factory (global multiuse)
public function GetServerObject(usr,pwd) as coServer
'if usr,pwr RIGHT then
set GetServerObject = myserver
'else
set GetServerObject =nothing
'end if
end function
'////
'//class module
'///Class coServer (public not multiuse)
'Code for Implentation of server
'////
'----
'-- client ---
'getsserver
dim m_server as coserver
set m_server=GetServerObject (user,pwd)
if m_server=nothing then msgbox "not connected"
-------------
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
-
August 30th, 2001, 04:05 AM
#4
Re: Multiple User
yes i would like to know more about
i will b using Access 2000 and ado
i am not sure of connecting people may b i have to use winsock or something better if u can suggest
and i also wanted to know if i have to make any changes in the back end i mean some settings in the access i dont think more than i user can make changes on the same table at same time
-
August 30th, 2001, 04:27 AM
#5
Re: Multiple User
if u r using access2000 as he back end then while using ado ther eis no rpoblem u use a common userid and pwd to connect to back end.when ever you are updating the database you can open the recordset by setting the cursor type as dynamic and lockoptimistic so it will allow only one user to update at a time.when you are just reaidng the information you can open the recordset in readonly format so many users can read at the same time.
-
August 30th, 2001, 04:35 AM
#6
Re: Multiple User
can u plzz link me to a project similar to mine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|