fixed session_cookie_key leak

This commit is contained in:
mdipierro
2016-03-21 17:25:16 -05:00
parent 6a569bf56e
commit 5cf835d856
4 changed files with 3 additions and 13 deletions
@@ -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}}