Subject Re: [firebird-php] Hi
Author Milan Babuskov
Uwe Oeder wrote:
> I therefore have concluded that I need the following :
> I would like to create SSL connection to transmit the data securely to the
> person and back.

Not really a Firebird or PHP issue. You should setup your webserver for it.

> I need to create sessions so that I can determine which data the user
> 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.

No you don't.

> So I though of the following .
> A User comes to the MainPage. A link , which starts a secure connection ,
> takes him to the Log_InPage.

Why not make him start from secure page by using:

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.
> This log in procedure establishes a session.

It is not needed. PHP Sessions are randomly created for each new user.
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 I
> access my database with one or with more connections ?

However you desire.

> Because how can many
> users access the database at the same time.

In theory: unlimited. In pracice: depends on hardware resources and
operating system limitations.

> As I can probably only log into
> one account at a time ?

Define "account".

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