Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 432 Bytes
[[@xxmSession,]]
<p>[[=Context.SessionID]]</p>
[[
if Session.Authenticated then
begin
<<p><b>Hello, [[=Session.Name]]</b></p>
<form action="Logout.xxm" method="post">
<input type="submit" value="logout" />
</form>>
end
else
begin
<<form action="Login.xxm" method="post">
name:<input type="text" name="name" /><br />
pwd:[...]<br />
<input type="submit" value="login" />
</form>>
end;
]]