On Fri, Jun 8, 2012 at 12:52 PM, Edward Easton <[email protected]> wrote: > Hi there, I'm working on a simple progress-bar type feature whereby > some progress information (eg, {'percentage': 25}) is stored in the > request.session and then read out again by an ajax callback from the > browser. > The code looks a bit like this: > > @view_config(route_name="my_page", renderer="my_page.html") > def my_page(request): > """ main page request """ > request.session.progress = {'percentage': 0}; > return {}
request.session.progress should be request.session['progress'] -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
