PDA

View Full Version : PHP Sessions


Xeef
05-26-2005, 01:50 AM
is there any way to use
session_start();
whitOUT to realy send the cookie to the host ?

problem & structure :
>
session_start(); //this shoud stay on the server no output to the host

setcookie (BlaBla) // this needs to by writen on the host
<

i know that i coud do something like

echo "\n"; and the session_start(); woudn't by send to the host
but then the setcookie also not works

Xeef
05-26-2005, 02:21 AM
i think i have it


ini_set("session.use_cookies",0);