[DUG] Multi client website

Gary T. Benner gary at benner.co.nz
Mon Aug 1 20:42:12 NZST 2016


[Reply]

HI John,

Fixed easily with a javascript alert ( my Bank does this) so the user is alerted that they have left things too long.

It's actually a feature!

And you can get around that in the situation where the user has entered data ... and doesn't want to retype it in ... call me for more details  :)

cheers

Gary



At 20:25 on 1/08/2016 you wrote 
>To  : delphi at listserver.123.net.nz
>CC  : >From: John C, jc at sunshinesoftware.co.nz
>Content Type: text/html
>Attached: >

>
>Hi guys
>
> >
>Sorry for the delay getting back to you.
>
> >
>I'm writing this in PHP5.
>
> >
>The suggestion using sessions may be a problem when a user is on a page, goes away for a relatively long time, the session times out and a page refresh will not work correctly.
>
> >
>Any suggestions are very welcome.
>
> >
>Thanks
>
>John >
> >
>From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Leigh Wanstead
>Sent: Monday, August 1, 2016 4:48 PM
>To: NZ Borland Developers Group - Delphi List
>Subject: Re: [DUG] Multi client website
>
> >
>Hi John,
>
> >
>You really need to tell us which operating system you plan to use and which programming language you plan to write.
>
> >
>There is no need to use cookie if you use apache.
>
> >
>Here is a url for your reading.
>
>http://stackoverflow.com/questions/11523258/apache-map-single-subdomain-to-folder
>
> >
>Regards
>
>Leigh
>
> >
>On 31 July 2016 at 13:42, John C <jc at sunshinesoftware.co.nz> 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
>
> >
>
>
>_______________________________________________
>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/20160801/83bba79c/attachment.html 


More information about the Delphi mailing list