Subject | Re: [firebird-php] Hi |
---|---|
Author | Milan Babuskov |
Post date | 2004-10-11T12:16:34Z |
Uwe Oeder wrote:
https://address
And if he types: http://address you can simply use HTTP redirect reply
(or some simple javascript) to move him to https://address
If you don't really need authenitcation, the no random login is requred.
Just fire-up the session.
operating system limitations.
If you mean that you don't administer the server and you'll only have
one connection available, then you should use permanent database
connections, and always connect with same username/password. But it is
silly to have that kind of limitation for any serious application.
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org
> I therefore have concluded that I need the following :Not really a Firebird or PHP issue. You should setup your webserver for it.
> I would like to create SSL connection to transmit the data securely to the
> person and back.
> I need to create sessions so that I can determine which data the userNo you don't.
> should be able to access next depending on where he was beforehand.
> I need an authentication or log in screen , to set up the session.
> So I though of the following .Why not make him start from secure page by using:
> A User comes to the MainPage. A link , which starts a secure connection ,
> takes him to the Log_InPage.
https://address
And if he types: http://address you can simply use HTTP redirect reply
(or some simple javascript) to move him to https://address
> He uses a random log in generated for him.It is not needed. PHP Sessions are randomly created for each new user.
> This log in procedure establishes a session.
If you don't really need authenitcation, the no random login is requred.
Just fire-up the session.
> The last part of accessing the database becomes a bit of an problem. Must IHowever you desire.
> access my database with one or with more connections ?
> Because how can manyIn theory: unlimited. In pracice: depends on hardware resources and
> users access the database at the same time.
operating system limitations.
> As I can probably only log intoDefine "account".
> one account at a time ?
If you mean that you don't administer the server and you'll only have
one connection available, then you should use permanent database
connections, and always connect with same username/password. But it is
silly to have that kind of limitation for any serious application.
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org