RENDER(Request& context) { <>

UCE Test: Session

String action = context.get["action"]; if(context.cookies["uce-session"].length() > 0) session_start(); if(action == "start") { session_start(); print("action: starting session"); } else if(action == "store") { context.session["stored-value"] = session_id_create(); print("action: storing value "+context.session["stored-value"]); } else if(action == "destroy") { session_destroy(); print("action: destroying session"); } <>
Start Session | Refresh | Destroy Session | Store Value | Info
Params
}