DoubleV
12-12-2002, 04:36 PM
ok, so this probably sounds totally stupid, but can somebody explain to me in plain terms how it all works or point me to a place i can read about it?
so we have 1 database. let's say that a database is being used for a single purpose only, so there's only 1 page containg the script to use with it.
in asp you would say
var conn = Server.CreateObject("ADODB.Connection")
in mivascript you would say
<MvOPEN NAME="db_alias_name" DATABASE="file_name.dbf" INDEXES="index_name.mvx">
those are the only 2 server-side languages i know how to do it with.
anyway, no matter which language you use, you name a database connection.
so here's a question: how is that name used and by what?
why am i asking? 'cause i am sitting here and thinking to myself: when several users ar online, running the same script, all of them will create connections with the database with the same variable name. so how does it all work? how does the server, or the database know what results to returm to each individual user when all of them had created connections with the same name?
i just have no idea how it all works, so can somebody please explain?
so we have 1 database. let's say that a database is being used for a single purpose only, so there's only 1 page containg the script to use with it.
in asp you would say
var conn = Server.CreateObject("ADODB.Connection")
in mivascript you would say
<MvOPEN NAME="db_alias_name" DATABASE="file_name.dbf" INDEXES="index_name.mvx">
those are the only 2 server-side languages i know how to do it with.
anyway, no matter which language you use, you name a database connection.
so here's a question: how is that name used and by what?
why am i asking? 'cause i am sitting here and thinking to myself: when several users ar online, running the same script, all of them will create connections with the database with the same variable name. so how does it all work? how does the server, or the database know what results to returm to each individual user when all of them had created connections with the same name?
i just have no idea how it all works, so can somebody please explain?