Hello guyz,
I was using sessions on my php code to pass specific variable values such as usernames. Everything goes well when I go straight browsing from page 1 to page 2, 3, 4 etc. but when I press the back button or even clicking the link to another previous page which uses the variable 'username', an error occurs saying:
"Notice: Undefined variable: _SESSION in C:\xampp\htdocs\mp3site\profile.php on line 15"-This never occurs on my first pass on the page but it seems like the value I passed on the SESSION was gone.
Can anybody tell me why this is happening? Any suggestions on what I should do please??? thanks