Details
Assignee
Michael OffnerMichael OffnerReporter
Hansjoerg PoschHansjoerg PoschPriority
CriticalLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Hansjoerg Posch
Hansjoerg PoschPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 28 May 2015 at 20:48
Updated 25 September 2024 at 10:17
Two apps are sharing data using memcache, one is running on php, the other one on lucee.
PHP can read the items created by lucee, but not the other way around.
PHP Code:
<?php
$memcached = new Memcached();
$memcached->addServer('127.0.0.1','11211');
$memcacheData = '{LALA}';
$memcached->set("PHP", $memcacheData);
print( $memcached->get("LUCEE") ); ---> work print "hello 123" as set below
?>
Lucee Code:
<cfdump var="#cacheput('LUCEE', 'hello 123')#">
<cfdump var="#cacheGet( 'PHP' )#"> --> will result in "not found"
Memcache debug shows that both items exist:
ITEM PHP [6 b; 1432763301 s]
ITEM LUCEE [9 b; 1432763301 s]
get PHP
VALUE PHP 0 6
{LALA}
END
get LUCEE
VALUE LUCEE 32 9
hello 123
END