Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

PHP session variables not stored

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 7 wyświetleń
  • Ostatnia odpowiedź od philipp

more options

I've created a website in php5. During development I used Firefox 46.0.1 on Ubuntu 14.04LTS. The session variables are nicely stored en can be read.

Now I'm starting to test on different browsers, my Windows 10 pc with Firefox 46.0.1 doesn't store the session variables. Chrome and Edge do store the session variables on my Windows 10 pc. Also on a win 8.1 pc with Firefox 46.0.1 the session variables are not stored.

Any idea what could be the cause?

What I typically do in a php script:

?>

In order to reload the page, I use javascript. "location.reload();" When commenting that line out and refresh the page, the session variables are available.

Any idea on how to solve this issue?

I've created a website in php5. During development I used Firefox 46.0.1 on Ubuntu 14.04LTS. The session variables are nicely stored en can be read. Now I'm starting to test on different browsers, my Windows 10 pc with Firefox 46.0.1 doesn't store the session variables. Chrome and Edge do store the session variables on my Windows 10 pc. Also on a win 8.1 pc with Firefox 46.0.1 the session variables are not stored. Any idea what could be the cause? What I typically do in a php script: <?php session_start(); $_SESSION['whatever'] = 'youwhat'; ?> In order to reload the page, I use javascript. "location.reload();" When commenting that line out and refresh the page, the session variables are available. Any idea on how to solve this issue?

Wszystkie odpowiedzi (1)

more options

hi, support.mozilla.org is intended for end-user support. if you have a question regarding web development please refer to Where to go for developer support instead. thank you for your understanding!