fixed session_cookie_key leak
This commit is contained in:
@@ -35,12 +35,6 @@ def hello6():
|
||||
response.flash = 'Hello World in a flash!'
|
||||
return dict(message=T('Hello World'))
|
||||
|
||||
|
||||
def status():
|
||||
""" page that shows internal status"""
|
||||
return dict(toolbar=response.toolbar())
|
||||
|
||||
|
||||
def redirectme():
|
||||
""" redirects to /{{=request.application}}/{{=request.controller}}/hello3 """
|
||||
|
||||
|
||||
@@ -94,7 +94,6 @@ def status():
|
||||
return dict(toobar=response.toolbar())
|
||||
""".strip(),language='web2py',link=URL('global','vars'),_class='boxCode')}}
|
||||
<p>Here we are showing the request, session and response objects using the generic.html template.
|
||||
<br/>Try it here: <a class="btn" href="/{{=request.application}}/simple_examples/status">status</a></p>
|
||||
|
||||
<h3>Example {{=c}}{{c+=1}}</h3><b>In controller: simple_examples.py</b>
|
||||
{{=CODE("""
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{{extend 'layout.html'}}
|
||||
|
||||
{{=toolbar}}
|
||||
Reference in New Issue
Block a user