output buffers
This commit is contained in:
+6
-6
@@ -18,17 +18,17 @@ RENDER()
|
||||
if(action == "start")
|
||||
{
|
||||
session_start();
|
||||
echo("action: starting session");
|
||||
print("action: starting session");
|
||||
}
|
||||
else if(action == "store")
|
||||
{
|
||||
context->session["stored-value"] = make_session_id();
|
||||
echo("action: storing value "+context->session["stored-value"]);
|
||||
print("action: storing value "+context->session["stored-value"]);
|
||||
}
|
||||
else if(action == "destroy")
|
||||
{
|
||||
session_destroy();
|
||||
echo("action: destroying session");
|
||||
print("action: destroying session");
|
||||
}
|
||||
|
||||
<>
|
||||
@@ -40,9 +40,9 @@ RENDER()
|
||||
Info
|
||||
<pre><?
|
||||
|
||||
echo(var_dump(context->cookies));
|
||||
echo("SESSION:\n");
|
||||
echo(var_dump(context->session));
|
||||
print(var_dump(context->cookies));
|
||||
print("SESSION:\n");
|
||||
print(var_dump(context->session));
|
||||
|
||||
?></pre>
|
||||
Params
|
||||
|
||||
Reference in New Issue
Block a user