help with session – PHP
Q(Question): Hello everyone, I am having a brain fart or something, why won’t this work? test.php: <?php session_start(); $_SESSION[‘username’]=’test’; header("Lo...
Q(Question): Hello everyone, I am having a brain fart or something, why won’t this work? test.php: <?php session_start(); $_SESSION[‘username’]=’test’; header("Lo...
Q(Question): My problem is I cannot set session variables correctly. I have tried both PHP 4.2.2 and 4.3.3, with register_global is ON. But I cannot manage to see the desired result. My configuration ...
Q(Question): I do not understand these error and also i can i fix it. This is the error- error:warning: session_start()[function.session-start]:cannot send session cache limiter – header already...
Q(Question): Hello, I’m new to php, I’m storing temp variable in SESSION $_SESSION['temp']='value'; when i go from one php page to other php page, the session variable is accessible but wh...
Q(Question): I have a page containing a form. The page submits to itself and if the data validates, stores the posted variables into a database and also into a session. I then use header to redirect t...
Q(Question): Dear All, Ok. Here I am again for some answers. I’ve gotten to understand more of things from here than other places. I hope I don’t get spoiled. LOLZ… Associative Array...
Q(Question): Hello all, I am using sessions to authenticate users and to store their information (username n password). login_pro.php page: <?php session_start(); include("db_connect.php"...
Q(Question): Looking for guidance on how to accomplish the following. Default login: User is logged in with a session lifetime of 25 minutes, or until the browser closes: // path for cookies - valid f...
Q(Question): recently I encounter a very strange behaviour of the session variable. if the cookies are disabled, the session id is totally misplaced (see code). instead being attached to the URL it is...
Questions: I am forwarding from nodejs to an html file through code: res.sendFile(__dirname + '/' + fileToServe); where fileToServe is an html file. I notice that when I do this, the previous code I h...