Hello
I have a problem with session ...
Does the $_SESSION["username"] available throughout the website in a browser when the session start? Does it meant to be available when click on GO button of the browser as well? Coz once I clicked on the GO button in the browser, the $_SESSION["username"] become unavailable.
I hope everyone could understand what my problem was. Thank you
also What is the different with session cookie and cookie....
Problem in Session
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
This was improperly posted as a new thread
Two words: try it.bundy wrote:I know Session in Php by default is set to be destroyed when the user's browser closed. Does that mean if there was a webpage using sessions on the page, then the user types in a same address on the address bar to access the same page, does the Sessions variable still maintain.
e.g.
address: http://www.google.co.nz?something....... having a session variable value "ABC";
then user type in the address on the address bar
like so:
http://www.google.co.nz Does the session variable value "ABC" still available;
I want to know because I testing it on the browser but don't know why the session variable's not available anymore
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA