coba pake #================== print "$_SESSION[count]"; #================= kemungkinan configurasi php ini nya di set register_global off ----- Original Message ----- From: "M Ilhami" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 06, 2004 1:38 PM Subject: [tanya-jawab] Session PHP tidak jalan di IE 6
> Dear linuxers, > > saya punya masalah dengan session PHP di IE6. Kalau > saya mengakses dengan url > web1_djonline.indosat.com/index.php, maka session nya > nggak jalan, user tidak bisa login, dsb. tetapi kalau > menggunakan http://10.10.44.15/index.php, semuanya > normal. saya pikir, IE nya tidak mengirimkan kembali > nilai PHPSESSID yang di set melalui cookie. Saya sudah > coba dengan browser Firefox, tidak masalah. apa > mungkin saya mengalami masalah yg disebutkan di > http://www.php.net/manual/en/ref.session.php, disitu > ada komentar: > -------------- > schulze at telstra dot com dot not dot this dot bit > 06-Jun-2004 07:10 > sessions not sticking and cookies not setting with IE? > took me ages to find the problem. > > you need a 'compact privacy policy'! it's not hard > once you know how! > > this was too much for me: http://www.w3.org/TR/P3P/ > > but http://www.sitepoint.com/article/p3p-cookies-ie6/2 > is very easy to apply > > and a visit to this site is very worthwhile: > http://www.privacycouncil.com/freep3pfix.php > > happy PHP to all! > > Erich > ------------------- > > saya ikuti petunuuknya, dgn mendownload P3P generator, > kemudian saya tambahkan di httpd.conf: > > Header add P3P "CP='NOI CURa ADMa DEVa TAIa OUR BUS > IND UNI COM NAV INT'" > > tapi tetep tidak jalan. saya mencobanya dengan script > sederhana: > --------------------------- > <? > session_start(); > echo time() . "<br>"; > if (!isset($_SESSION['count'])) { > $_SESSION['count'] = 0; > } else { > $_SESSION['count']++; > } > print_r($_SESSION); > ?> > ---------------------------- > > jika anda tes, seharusnya nilai countnya nya bertambah > kalo di refresh. > > berikut setting virtual host saya (relevant gak sihh > hehe?): > ----------------------- > NameVirtualHost *:80 > <VirtualHost *:80> > ServerName web1_djonline.indosat.com > ServerSignature email > DirectoryIndex index.php default.php > index.html index.htm index.shtml > LogLevel warn > HostNameLookups off > </VirtualHost> > > # Virtual host Virtual Host 0 > <VirtualHost 10.10.44.18:80> > ServerName 10.10.44.18 > DocumentRoot /var/www/html/devel > ServerSignature email > DirectoryIndex index.html index.php > default.php index.htm index.shtml > HostNameLookups off > </VirtualHost> > ----------------------- > > > Apa benar masalah IE6+P3P? kalau iya, apa setting saya > masih salah? > > help me please. > > > > > > _______________________________ > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter now. > http://promotions.yahoo.com/goldrush > > -- > Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] > Arsip, FAQ, dan info milis di http://linux.or.id/milis.php > Tidak bisa posting? Baca: > http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi > http://linux.or.id/wiki/index.php?pagename=TataTertibMilis > -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis.php Tidak bisa posting? Baca: http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi http://linux.or.id/wiki/index.php?pagename=TataTertibMilis
