Subject | Re: Firebird php session handling functions? |
---|---|
Author | willogibbo |
Post date | 2006-06-19T10:47:54Z |
I am re-visiting this and trying to get php to use firebird for
storing php sessions.
There are plenty of exmaples of the various php functions required for
MySQL but I haven't found anything yet done in Firebird. Anyway, I
have created a set of functions i.e. sessionOpen, sessionClose,
sessionRead etc.. as best I can, but I don't think I've even got past
php recognising the Firebird database and table as the storage as I'm
getting the error "Failed to initialize storage module".
Firstly, in php.ini, I am wondering how exactly to specify the
"session.save_path" and "session.name" configs. Would
"/opt/firebird/city/city.fdb" and "tblphpsessions" be valid (e.g. is
the .fdb suffix required or not?.
There are more questions to follow to get this working I'm sure, but
i'll leave it there to see whether anybody has done this successfully
or not.
Many thanks
Will
storing php sessions.
There are plenty of exmaples of the various php functions required for
MySQL but I haven't found anything yet done in Firebird. Anyway, I
have created a set of functions i.e. sessionOpen, sessionClose,
sessionRead etc.. as best I can, but I don't think I've even got past
php recognising the Firebird database and table as the storage as I'm
getting the error "Failed to initialize storage module".
Firstly, in php.ini, I am wondering how exactly to specify the
"session.save_path" and "session.name" configs. Would
"/opt/firebird/city/city.fdb" and "tblphpsessions" be valid (e.g. is
the .fdb suffix required or not?.
There are more questions to follow to get this working I'm sure, but
i'll leave it there to see whether anybody has done this successfully
or not.
Many thanks
Will
--- In firebird-php@yahoogroups.com, Lester Caine <lester@...> wrote:
>
> willogibbo wrote:
>
> > I hope this doesn't seem too lazy, but I was wondering if anybody
> > knows of any existing Firebird database based, php session handling
> > functions i.e. sessionOpen, sessionClose, sessionRead etc..
> >
> > There seem to be a number of mySQL based ones around, but I wonder if
> > there are any public ones written specifically for Firebird?
>
> ADOdb has it built in so I've never looked ;)
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
> Treasurer - Firebird Foundation Inc.
>