|
-
Jul 6th, 2012, 02:27 PM
#1
Thread Starter
Fanatic Member
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.
-
Jul 6th, 2012, 11:29 PM
#2
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.
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jul 7th, 2012, 01:21 AM
#3
Thread Starter
Fanatic Member
Re: SESSION Unexpected behaviour
yez im using it
same code working on other server
-
Jul 7th, 2012, 02:17 AM
#4
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 ?
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jul 7th, 2012, 02:22 AM
#5
Thread Starter
Fanatic Member
Re: SESSION Unexpected behaviour
 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 ?

no this is not my localhost
it works fine on my localhost. You are right i will mail to customer care :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|