SESSION Unexpected behaviour
im creating session variables in one page and when i try to access session variables on other page then session variables does not exists. Means it exists only on the page in which they are defined and not accessible on other pages.
But works very well on my localhost. it happens only on the server after uploading script. There is no error i have uses session_start() on the top of the code.
Re: SESSION Unexpected behaviour
Are you using session_start() on both pages ?
Check if you are unsetting it somewhere in your code after it was set.
:wave:
Re: SESSION Unexpected behaviour
yez im using it
same code working on other server
Re: SESSION Unexpected behaviour
hmm... Then check if there is some problem with the session storage in your server. Just inquire about it to the customercare department of that hosting provider.
Or is it your own local server ?
:wave:
Re: SESSION Unexpected behaviour
Quote:
Originally Posted by
akhileshbc
hmm... Then check if there is some problem with the session storage in your server. Just inquire about it to the customercare department of that hosting provider.
Or is it your own local server ?
:wave:
no this is not my localhost
it works fine on my localhost. You are right i will mail to customer care :-)