|
|
|
|
|
| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Data driven website for multiple region |
From: |
Jordi |
Date: |
12/24/2003 5:31:36 AM |
IP: |
195.77.33.58 |
You can have some variables or session variables with the connection string to each region. When the user requests a page, you may have a way to know which region he needs. This region can be in the Users database.
if region=1 then
strConn = "Database, region..."
elseif region=2 then
strConn = "Another Database, another region..."
...
end if
set con = CreateObject("ADODB.Connection")
con.open strConn
... |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|