Re: javascript cookie dissapears when adding session_start()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please re-send the link for your code.

> Norah Jones <nh.jones01@xxxxxxxxx> hat am 20. März 2013 um 15:19 geschrieben:
>
>
> I've been working on a PHP/Javascript Cookie Notify (Including multiple
> language support). Now I have one small problem, when session_start() is not
> at the top, the cookie message works as it should be.
> Now I am trying to add session_start(); at the top, as this will load the
> current language file the visitor has set it to. But then the cookie message
> will not show.
> I've cleaned all my cookies, and still can't get it to work ...
> I've put up a small code on jsFiddle, but when session_start(); is at the top,
> it launches correctly in jsFiddle. which can be viewed (here).
> Does anyone know what i'm doing wrong? And would you be able to explain me
> what I am doing wrong?
>
> Thanks
>

--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: marco@xxxxxxxxxx

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux