文章分类 -  GO

摘要:1. go web代码设置Cookie时,一定先使用http.SetCookie设置Cookie,再调用http/template中的Execute方法生成html内容。若顺序颠倒的话,则会导致设置的Cookie不起作用。 阅读全文
posted @ 2013-04-22 17:59 lingjip 阅读(105) 评论(0) 推荐(0)