Jump to content

session values are losting in http://WWW.url but it is working in http://url.


jeh

Recommended Posts

HI,

 

My project have multiple modules.  I have one menu it contains all module tabs. Let us, i login in one module is called 'XXX'. Next i am going to another module is called  'YYY' by clicking menu. In this process session values are working in 'XXX' module. But in 'YYY' module session are losting if url alike 'http://WWW.myurl' but in 'http://myurl' session values are working. How to solve this problem ? If u have any ideas please advice me.

 

Thank in advance,

 

Suman.

Link to comment
Share on other sites

Please check the things below in order to debug this issue:

 

1. sesssion_start() should be present at the top of every page wherever session is involved.

2. check by declaring one more session variable and see if the value for that variable is received at the next module.

3. Check if the session variable you are using is not getting a null value while moving from one module to another...

 

visit me at http://www.mysqlandphp.net

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.