Hi, I can help you out here. What I do the keep session variables
between pages:

session = web.session.Session(app, web.session.DiskStore('sessions'),
{'count': 0})
render = web.template.render('templates', globals={'context':session})

define your variables with:

session.var1 = 'something'
session.var2 = 'something else'

In the other page, you can add this to the top to see of the variables
have been ported:

$context

as long as you put session. in front of your variable you can use them
between other pages

On Jul 22, 3:51 pm, michael kapelko <[email protected]> wrote:
> Hi.
> I'm not actually going to answer your question, I can only guess you
> want some AJAX functionality?
> I want to ask you how you deal with session objects so that they keep
> data across page refreshes?
> I've tried to usehttp://webpy.org/docs/0.3/sessionsthis example, but
> it doesn't keep data.
> Can you please help me? :)

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to