|
Posted by Jerry Stuckle on 02/19/07 01:37
turnitup wrote:
> J.O. Aho wrote:
>> Evil Otto wrote:
>>
>>> Put session_start() in the functions that get called after the initial
>>> pageload. Just generates warnings that a session has already been
>>> started (by the original pageload).
>>
>> You are supposed to use one session_start() per script, say your AJAX
>> will call the getnewcars.php to get a result, then you have
>> session_start() first in that script, and thats all, nothing in the
>> functions that are called from that script.
>>
>
> You can put session_start() after other output if you use ob_start to
> buffer output.
Output buffering just hides the real problem - it doesn't solve it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|