Re: Fw: [phplib] PHP4 sessions (was Is it necessary to pass Session ID...) From: Barend Scholtus (regiment <email protected>)
Date: 10/11/00

my port of the phplib tot php4 started as a exercise/joke, but the
coding is not too hard but fun, so i decided to continue. it is more the
point exactly what to port and what not. the problem is the make
decisions regarding the API. sessions are a php4 point, not a
phplib-for-php4 point (discussion?!).

but the port should provide some convenience functions like $sess->url().
it should provide the allowcache stuff.
it should provide the fake auto_prepend thing.
it should be downward compatible so we can port old phplib sites to a
faster php4 server. (we need a wrapper class $sess)
and probably more.

this weekend i continue with the port. i have to look into the existing
port also.

maybe this is a cvs email, but i want to hear future phplib-for-php4
users' opinions as well.

grtz,

brian

ps sorry for the bad layout all the time - it's pine on a telnet session :-)

Op Wed, 11 Oct 2000, Jeroen Laarhoven schreef:

> Hi,
>
> There is done some work on PHP4 session already by Teodor Cimpoesu!
> His work is in the CVS.
>
> I even have had it up and running overhere as long as you do NOT disable
> cookies. Although not tested deeply. But basicly it seemed working (after
> adding two dummy methods used in auth and page if I remember wel).
>
> I started to continue on his work, but ... our code needs some old deeper
> session stuff e.g. for manipulating URL's if cookies are of. So it was not
> that easy to get it up and running compleetly.
>
> That might be a problem for others to, since there is no 'leveling'
> (public/private/...) in the class interface, how much of the old stuff you
> you want to rebuild/simulate?
>
> And then I run out time ...
>
> Another thing is that I have seen some recent problems reported with the
> PHP4 session stuff (and that scared me). So is it stable enough for a LIVE
> site?
> (If there is a bug in PHPLIB you can fix it, but going into PHP4 ...)
>
> Greetings
> Jeroen.
>
>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Jeroen Laarhoven, Zwolle, Netherlands
> email: jeroen <email protected>
> www: http://jeroen.polder.net
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>
> > ----- Original Message -----
> > From: "phplib" <phplib <email protected>>
> > To: <phplib <email protected>>
> > Sent: Wednesday, October 11, 2000 4:02 PM
> > Subject: Re: [phplib] PHP4 sessions (was Is it necessary to pass Session
> > ID...)
> >
> >
> > > >php4 has sessions from itself. i didnt know you are useing
> > > >auth,perm and
> > > >user also. in case of php3/php4 with phplib, you still need to
> > > >add the
> > > >session id in get mode. with php4 (with the compile option i
> > > >mentioned -
> > > >do it!) and native sessions (no phplib) you dont need to think
> > > >about the
> > > >session id anymore.
> > >
> > > OK -- that's what I thought.
> > >
> > > >im working on a port for phplib to use php4 native sessions, but
> > > >i dont
> > > >have time to complete it until saturday and it wont be officially
> > > >available for at least a few weeks i think.
> > >
> > > I was thinking about doing the same, but I don't want to replicate
> > > anyones' work.
> > >
> > > --Jesse
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > > For additional commands, e-mail: phplib-help <email protected>
> > >
> > >
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>