[DUG] Multi client website
Gary T. Benner
gary at benner.co.nz
Sun Jul 31 19:17:39 NZST 2016
[Reply]
HI John et alia,
Irrespective of what development environment, Delphi and variants, PHP or ASP, the most common method is to maintain "session data" which is managed using a cookie (which identifies the browser to the server) or a hidden set of data fields which are passed back and forth for each request / response to the webserver.
In a multi-tenanted website, as I understand it, you need to be doubly careful to ensure that data is never mixed up - very embarrassing otherwise.
In PHP & ASP there are inbuilt Session features which make this a breeze - however you will still need to put in additional layers to manage multiple "tenants", and cross checks to ensure only logged in users get to see their own data and nothing else.
Good luck.
cheers
Gary
At 13:43 on 31/07/2016 you wrote
>Hi all
>
>I have a website what will be available to the public but specific for more
>than one clients. The frame work of the website will be the same for each
>client but their images and CSS file will be different (making it look
>differently).
>
>The plan is to have a sub-domain for each client from where it will jump to
>the "common" pages on the main domain. The index file on each sub.domain
>identifies the client and therefore define the directory path to use for the
>images and the CSS file.
>
>I was thinking of doing this with cookies for the paths to be used in the
>main program, but I'm not sure it would be a good plan and if that will work
>properly (setting a cookie from within a sub.domain to be used in the main
>domain).
>
> >
>Any ideas or suggestions of how to do this?
>
> >
>Thanks a lot in advance
>
>John C
>
> >
>
>
>_______________________________________________
>NZ Borland Developers Group - Delphi mailing list
>Post: delphi at listserver.123.net.nz
>Admin: http://delphi.org.nz/mailman/listinfo/delphi
>Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe
Ref#: 41006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20160731/a8dc718c/attachment-0001.html
More information about the Delphi
mailing list