do those apps share the same session ?
every app in web2py by default doesn't share the session, so if you're
logged in in the first, it doesn't mean you're logged in into the other.
On Sunday, October 20, 2013 9:38:05 AM UTC+2, Annet wrote:
>
> I divided my application in two sub-application, one front-end and a cms.
> Both application have the
> same menu. This menu contains the following code:
>
> <ul class="nav pull-right">
> <li>
> {{if auth.is_logged_in():}}
> <a href="{{=URL('cms','default','user',args='logout')}}">Logout</a>
> {{else:}}
> <a href="{{=URL('cms','default','user',args='login')}}">Login</a>
> {{pass}}
> </li>
> </ul>
>
> In the cms application this link reflects the right state, however, when I
> navigate to the
> front-end application, the link says login even though I am logged_in.
> When I click
> the link I get the login form, so the application does not recognize I
> already am logged
> in.
>
> Is there a way to make the menus reflect the correct state, or is this not
> possible?
>
>
> Kind regards,
>
> Annet
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.