Page 1 of 1

Hesk & memcaching - anyone?

Posted: Thu Mar 11, 2010 5:37 pm
by edgartronic
Script URL: http://www.lmasandiego.com/digital
Version of script: 2.1
Hosting company: Platformic
URL of phpinfo.php: http://www.lmasandiego.com/php-info.php
URL of session_test.php: http://www.lmasandiego.com/digital/sess ... n_test.php
What terms did you try when SEARCHING for a solution: "sessions", "memcaching"

Write your message below:

Hi all.

So, I've installed Hesk on my website and, as many have, I've run into session problems. Specifically, the issue lies with our hosting company. Since they're on an Apache cluster, they use memcaching for sessions since they won't allow us to store sessions into files.

Has anyone out there customized Hesk for use w/servers that use memcaching? If so, how'd you do it?

Thanks! Look forward to mixing it up with all of you.

Posted: Fri Mar 12, 2010 3:05 pm
by Klemen
I never used memcache myself, but from what I read it's a database caching system and I don't see what it would have to do with PHP sessions. Saving CPU? Are you getting millions of visitors per month?

If you want my honest opinion - if you are paying for PHP support then your host should provide a working PHP with (at least) all the basic functionality. Without working PHP sessions you won't be able to use Hesk or any other PHP script that uses sessions.

The non-free alternative would be to used the hosted version of Hesk:
http://www.hesk.com/remote-help-desk.php

Posted: Mon Mar 15, 2010 10:53 pm
by edgartronic
Thanks Klemen. Just to be sure I didn't lose anything in translation, here is exactly what I received from our host:

"As we use apache cluster - sessions cannot be stored in files with default session path (/tmp), otherwise they will not be available on another node. We uses memcached for session storage."

Unfortunately, they're not a standard hosting provider a-la GoDaddy. They're a hosted CMS company we use so we're locked in, for the most part, with their PHP settings.

I'm thinking, instead of trying to write a workaround to whatever they just said, to just find a cheap hosting solution and host it myself.

Posted: Tue Mar 16, 2010 4:21 pm
by Klemen
To an end-user it doesn't really matter how one has the server/cluster setup, it all boils down to a simple question: do sessions work or not? :wink: