func (w *WorldController) Session(r *knot.Request) interface{} { r.ResponseConfig().OutputType = knot.OutputHtml s := r.Session("NameAndTime", "").(string) r.SetSession("NameAndTime", "Arief Darmawan : "+time.Now().String()) return "Session value is " + s }