The only thing I can see after a quick skim of the code is that you
probably want to simplify this:
if(!session_start()){
session_start();
}
to this:
session_start();
It might help to try building a debug page, just to check that your session
is getting created properly, like this:
<?php
session_start();
var_dump($_SESSION);
?>
Log in, then go to that page. Your session variables should be populated
correctly. If they are not, then you need to fix something in the login
script.
On Sunday, April 21, 2013 1:02:14 AM UTC-4, elizerbertling wrote:
>
> Hi, i just looking for a simple way to keep the login data intact, and i
> already tried my best to understand about concept of PHP's &_SESSION, but
> still fail to figure how it work. Here is my progress
> Sorry for any inconvenient
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.