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.

Reply via email to