- Total Members: 220,034
- Threads: 525,390
- Posts: 977,005
-
July 30th, 2011, 06:54 AM
#1
Need Help..
Hai everyone,
I am newcomer..
Need ur help..
Currently i developing a website portal project. The question:
I want use one web portal for multiple clients. Example, single customizable portal for different companies, organizations,etc.
I want setup unique web address for each of them. The rules is,
i have given only one domain and can't setup any sub domain.
Second rule, the web address need no cookies attaching together, means like other normal address..
My IDEA is, to create unique folder for each client.(Ex..URL address/clientfold1...URL address/clientfold2...
URL address/clientfold3
The question how to coding it.
Again, the rules is ONLY SINGLE DOMAIN and NO SUB DOMAIN allowed. And Normal web address without COOKIE ATTACHHING Ex: (URL address /cookie="454")
I have the idea but don't know how to implement it.
So, can u guys help me?? Or any of you have better idea???.
TQ.
-
July 30th, 2011, 05:28 PM
#2
If I am understanding you correctly, I suppose you can use your single domain with different clients by using a querystring and a redirect.
For example...
urladdress.com/index.asp?id=client1
urladdress.com/index.asp?id=client2
urladdress.com/index.asp?id=client3
etc
Then at the top of your index page for urladdress.com, use a redirect.
id = request.querystring ("id")
if id = client1 then
response.redirect to client1 folder
elseif
id= client2 then
response.redirect to client2 folder etc
end if
You would also want to set up the page that if the id = "" then to display your message or whatever.
-
August 1st, 2011, 03:45 AM
#3
tq friend,
but that look not clean web url(without querystiring,cookies etc..)
i need url like this: url.com/clientfold1 and every navaigation need no leaving this folder.
As my idea, the single web portal share same module like forum, image gallery, product info,etc but every client are given own different folder for their base home navigation.
So, every user@client just type url direct to their folder. It looking like have many default.asp page for each folder but from there, it just include single other modules. I now trying to plan this. So, i need some help.
Summary:
url.com/clientfold1
url.com/clientfold2
.
.
url.com/clientfold100
but all are share same single other modules like:
url.com/forum
url.com/imagegallery
url.com/productinfo
url.com/etc..
Here like function INCLUDE play important role.But i need other help how to coding it.TQ
-
August 1st, 2011, 09:15 PM
#4
You could set up sessions for each client folder, that way you could keep track of each client and customer orders that belong to a specific client folder.