Page 1 of 1

PHP native session support

Posted: Sun May 14, 2006 12:59 pm
by alex.barylski
So I've spent the last few hours reading up on everything sessions and have a pretty solid overview of how they work and why, etc...yadda yadda... :P

I'm ready to begin writing my own session class, but I still can't decide whether I should roll my own 100% or stick with native functions...

The only functionality which is really nice about native sessions is session ID propagating through URL's - which I could implement myself quite easily, but still...

What I need to know, has anyone ever ran into a situation where native session support wasn't available???

Not sure if this question is even reasonable, as I'm writting this class strictly php5+

Anyways, outside of the generic session functionality not being available or customizing where/how the session data is stored...

Can anyone think of a good reason why I would roll my own solution 100%?

Cheers :)