|
Posted by lwoods on 01/18/06 20:54
First, I really enjoy working with PHP so I don't want to get something
started, but I also work with ASP and there is no such thing as "turning on
and off" session support. It's just there! The only problem that you run
into is if someone has cookies turned off...but I live with that.
Anyway, I'll remember to put "session_start()" at the top of each page...and
before any headers...which I also discovered the hard way.
Thanks to all...
Larry
>> Not really. You call session_start() on those pages which require
>> session support, and don't on those which don't need sessions. Saves a
>> little unnecessary processing time.
>
> Not to mention the default session handler will only allow two scripts to
> use the same session at the same time - if sessions were "always on", then
> you'd get timeouts all over the place.
>
>> Maybe session_connect() might be a better name? :-)
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstucklex@attglobal.net
>> ==================
>
>
Navigation:
[Reply to this message]
|