[web2py] signed url

2013-03-27 Thread yashar
here is the link : window.location.href = '{{=URL('CS','close_inqueries',user_signature=True)}}' + '&' + data; and here is the controler: def close_inqueries(): print request.vars print '-'*20 print session and here is the result: , 'user_groups': {3: '

[web2py] signed url

2013-03-27 Thread yashar
here is the link : window.location.href = '{{=URL('CS','close_inqueries',user_signature=True)}}' + '&' + data; and here is the controler: def close_inqueries(): print request.vars print '-'*20 print session and here is the result: , 'user_groups': {3:

[web2py] signed URL - please help test it!

2011-05-21 Thread Massimo Di Pierro
There is something new and potentially very important for web2py. Example: @auth.requires_login() def index(): link = A('click me',_href=URL('callback',user_signature=True)) return dict(link=link) @auth.requires_signature() # NEW!! def callback(): return dict(hello='hello world')

Re: [web2py] signed URL - please help test it!

2011-05-21 Thread BearXu
This is like the channel API in the app engine. Hope that rocket can support long pool in the future. On 22 May 2011 08:47, Massimo Di Pierro wrote: > There is something new and potentially very important for web2py. > Example: > > @auth.requires_login() > def index(): >     link = A('click me',_

Re: [web2py] signed URL - please help test it!

2011-05-22 Thread Jason Brower
That's a nice feature and very easy to use! I do some crazy applications at my work that could use this. BR, Jason Brower On 05/22/2011 06:41 AM, BearXu wrote: This is like the channel API in the app engine. Hope that rocket can support long pool in the future. On 22 May 2011 08:47, Massimo Di

[web2py] Signed url to non users of the app

2014-09-21 Thread António Ramos
Hello i have an app that creates some graph about some data How can i share a link to a view of that graph and send it to a person that is not a user of my app and allow it to access the link for limited period of time? Thank you António -- Resources: - http://web2py.com - http://web2py.com