<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
myOffice Email Message
</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="date" content="2002-11-01">
<style type="text/css">
</style>
</head>
<body>
<span style=
"color:#FF0000 "><b><span style=
"font-family:MS Sans Serif ">[Reply]</span></b></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">HI John et alia,</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">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.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">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. </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">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. </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">Good luck.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">cheers</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">Gary</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">A</span><span style=
"color:#FF0000 "><b>t 13:43 on 31/07/2016 you wrote </b></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Hi all</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>I have a website what will be available to the public but specific for more</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>than one clients. The frame work of the website will be the same for each</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>client but their images and CSS file will be different (making it look</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>differently).</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>The plan is to have a sub-domain for each client from where it will jump to</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>the "common" pages on the main domain. The index file on each sub.domain</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>identifies the client and therefore define the directory path to use for the</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>images and the CSS file.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>I was thinking of doing this with cookies for the paths to be used in the</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>main program, but I'm not sure it would be a good plan and if that will work</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>properly (setting a cookie from within a sub.domain to be used in the main</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>domain).</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Any ideas or suggestions of how to do this?</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Thanks a lot in advance</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>John C</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>_______________________________________________</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>NZ Borland Developers Group - Delphi mailing list</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Post: delphi@listserver.123.net.nz</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Admin: http://delphi.org.nz/mailman/listinfo/delphi</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Unsubscribe: send an email to delphi-request@listserver.123.net.nz with Subject: unsubscribe</span></span><p>
<font face=arial size = 1 color = Navy><div style="font-family:calibri,sans serif;font-size:8pt;width:600px;border-top:solid 2px #ff00ff;margin-top:10px;padding:0px;margin:0px;"><br>
<span style="font-size:13pt;font-weight:bold;color:navy;">Gary Benner</span> <span style="font-size:9pt;">CITPNZ</span><br /><br>
<span style="font-size:11pt;font-weight:bold;color:navy;">Chartered IT Professional</span><br /><br>
<span style="font-size:10pt;font-weight:normal;color:black;"><br>
Email: gary@benner.co.nz<br /><br>
Mobile: +64 21 966 992<br /><br>
Office: +64 9 281 4391<br /><br>
<br /><br>
</span><br>
<table style="border-collapse:collapse;width:600px;"><tr><br>
<td style="border:solid 1px #eeeeee;vertical-align:top;font-size:8pt;padding:3px;"><br>
Director<br /><br>
<span style="font-size:10pt;font-weight:bold;color:navy;">123 Internet Ltd</span><br /><br>
.nz Internet Registrar<br /><br>
Cloud Web Hosting<br /><br>
</td><br>
<td style="border:solid 1px #eeeeee;vertical-align:top;font-size:8pt;padding:3px;"><br>
Director<br /><br>
<span style="font-size:10pt;font-weight:bold;color:navy;">Onlearn Ltd</span><br /><br>
e-Learning Specialists<br /><br>
Moodle - Articulate - Camtasia<br /><br>
</td><br>
<td style="border:solid 1px #eeeeee;vertical-align:top;font-size:8pt;padding:3px;"><br>
Director<br /><br>
<span style="font-size:10pt;font-weight:bold;color:navy;">Tsunado New Zealand Ltd<br /><br>
Tsunado Australia Ltd</span><br /><br>
Emergency Public Alerting<br /><br>
</td><br>
<td style="border:solid 1px #eeeeee;vertical-align:top;font-size:8pt;padding:3px;"><br>
Director<br /><br>
<span style="font-size:10pt;font-weight:bold;color:navy;">Semantic Ltd</span><br /><br>
Web, Mobile & PC Software<br /><br>
IT Systems Consultancy<br /><br>
</td><br>
</tr></table><br>
</div><br>
<br>
Ref#: 41006<br>
<br>
</body>
</html>