Waspman
Posts: 948
|
Posted: 02/15/2012, 1:20 AM |
|
Trying to read a variable set in a CCS application in another standard PHP pgae not created in CCS.
So in the CCS page I've got CCSetSession('test1", $Container->Name->GetValue());
if the plain php page I've got...
<?php
session_start();
$show = $_REQUEST['test1'];
echo $show;
?>
Anyone managed to make this work?
Cheers:)
_________________
http://www.waspmedia.co.uk |
|
|
mamboBROWN
Posts: 1713
|
Posted: 02/18/2012, 8:36 PM |
|
Waspman,
I'm not sure but have you tried:
$show = $_SESSION['test1'];
|
|
|
clahti2
Posts: 107
|
Posted: 02/19/2012, 3:42 PM |
|
yes the "test1" variable in this case is a session var, not a request var so it will not be on the request line unless you specifically post it or add it to the querystring.
|
|
|
Waspman
Posts: 948
|
Posted: 02/20/2012, 12:51 AM |
|
sorry guys sorted. Thanks:)
_________________
http://www.waspmedia.co.uk |
|
|
|