$_SESSION Use (original) (raw)
I have some php 4 code that is being tested on a php 5 site. The (fairly simplistic) login uses a $_SESSION variable to track a valid login, but under php 5 it seems to lose its values when moving to a different php page.
A quick scan of the documents didn't show anything obvious about version 4 vs version 5 differences. The code uses session_start(), then checks $_SESSION['loginstuff_notactualkey'] for the user name.
Is this a coding practice that should be changed with version 5?
Hay que revivir esta comunidad, PHP está mas vivo que nunca con su nueva versión PHP 8 liberada el pasado 26 de Noviembre 2020, en el año de la…
Is this community dead or something?
I just started to use LJ, so i thought it would be nice to have some friends here. I'm into coding and programming. I recently started to practice…