Forums

This topic is locked

Help needed urgently!!!!!!!!!!!!!!!!!!

Posted 12 May 2002 21:39:29
1
has voted
12 May 2002 21:39:29 Omoniyi Ewete posted:
I have a website (2-be-one.com) & unlimited sub-domains (eg kunlewedssola.2-be-one.com) now the workdone is much & i want to convert it to a database driven website since all the pages have a template. My question goes forth, i want to design just template pages for my subdomains while the data are retrieved from the database, what should can i do b/c there's no login session & how can i tie the subdomain url to a client ID such that once the subdomain url is typed it goes straight to retrieve the client id & subsequently the data corresponding.

Pls i need help urgently!!!!!!

Replies

Replied 13 May 2002 02:15:34
13 May 2002 02:15:34 Dave Clarke replied:
Hi

Not sure but if you don't want the client to log in then I would imagine you would have to use cookies to give them an ID and then retrieve this cookie when they come back and use it to get the data from the database, of course this would mean that the client would have to have cookies enabled.
Replied 13 May 2002 17:04:50
13 May 2002 17:04:50 Julio Taylor replied:
personally i think that it's always better to use session variables (like KT_Username in PHP) to identify users. Cookies are unreliable (and made by netscape <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>.

Of course sessions are useless if you want to remember people in the future.

-- J
Replied 16 May 2002 17:51:33
16 May 2002 17:51:33 Omoniyi Ewete replied:
people are given free access & no need to login but is there a way that a http session ID cookie can be placed in each subdomain so that it is linked to a recordset (clientID) where it can retrieve data from

Reply to this topic