<s> from circuits . web import Server , Controller , Sessions <EOL> class Root ( Controller ) : <EOL> def index ( self , name = "<STR_LIT>" ) : <EOL> if "<STR_LIT:name>" in self . session : <EOL> name = self . session [ "<STR_LIT:name>" ] <EOL> self . session [ "<STR_LIT:name>" ] = name <EOL> return "<STR_LIT>" % name <EOL> app = Server ( ( "<STR_LIT>" , <NUM_LIT> ) ) <EOL> Sessions ( ) . register ( app ) <EOL> Root ( ) . register ( app ) <EOL> app . run ( ) </s>
