try {{=session}} to see what is going on

Is it possible you create the t2 object in the controller and not in
the model?

I think there is also a variable session.t2_person_id  that you can
use for the check.

Massimo

On Apr 7, 3:50 pm, waTR <roman.goldm...@gmail.com> wrote:
> I am using the t2.logged_in variable to store the status of my user.
>
> When the user logs in, the function changes the t2.logged_in = True.
>
> However, when I then check t2.logged_in in another controller and
> another page, t2.logged_in = False. Whats going on? It seems
> t2.logged_in is not keeping track of the session or something... is
> there a way to pass a session to it?
>
> How do I do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to