close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

session variable not stored ??

Thread began 12/22/2017 2:16 am by CraigR | Last modified 12/28/2017 10:15 am by Ray Borduin | 1691 views | 6 replies |

CraigRBeta Tester

session variable not stored ??

My site no longer seems to store my login session values, (ok locally)

I have tried var_dump($_SESSION); on my testing server I get what I expect

array(4) {
["WAENCRYPTEDRETURNUSED"]=>
bool(false)
["WAENCRYPTEDRETURNSUCCESS"]=>
bool(false)
["ContactID"]=>
int(xxxxx)
["userLevel"]=>
int(1)
}

but on my live server, I only see

array(2) {
["WAENCRYPTEDRETURNUSED"]=>
bool(false)
["WAENCRYPTEDRETURNSUCCESS"]=>
bool(false)
}

Sign in to reply to this post

Ray BorduinWebAssist

Check the session_save_path value from the php.ini file. It may be set to a non-existent folder or a folder without the proper permissions.

Sign in to reply to this post
Did this help? Tips are appreciated...

CraigRBeta Tester

thanks Ray.

I did think of that, and had my hosting provider change php.ini as the value was now missing.

The folder has 755 permissions, but I wondered - if the folder was the problem, how come 2 of the 4 values were present ?

Sign in to reply to this post

Ray BorduinWebAssist

Yes good point. It must be something else. If you give me FTP access and a URL to reproduce the problem I can debug it and let you know.

Sign in to reply to this post
Did this help? Tips are appreciated...

CraigRBeta Tester

PM

Sign in to reply to this post

Ray BorduinWebAssist

You have a php.ini file in the root that appears to be causing the problem. Deleting that file seems to have fixed it.

Sign in to reply to this post
Did this help? Tips are appreciated...

CraigRBeta Tester

PM

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...