If it is less than the maximum page request count, the new visit object is saved to the session.
如果小于最大页面请求计数,则新的visit对象被保存到会话中。
Now that the visit object has all the information it needs saved to it, and what we need to display is saved to local variables, it tests the count again.
既然visit对象具有它需要保存到自身的全部信息,而且我们需要显示的内容被保存在本地变量中,那么它将再次测试计数。
When you visit the /hello/ URL, your request is mapped to the object cpg.root.hello, and its default method (index()) is called to handle the request.
当您访问 /hello/ URL 时,您的请求被映射到对象 cpg.root.hello,并且其默认的方法(index())被调用来处理该请求。
应用推荐