<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>I cannot seem to get a simple set of pages to do logout. </div><div><br></div><div><a href="http://cfg__nav.inc">cfg__nav.inc</a></div><div><br></div><div><?LassoScript<br><br>// configure navigation, i.e. the site's structure<br><br>// create main navigation object<br>var:'nav'=(knop_nav(-default=($s_user->auth ? 'logout' | 'login')));<br><br>$nav->(insert( <br> -key='home', <br> -label='Home'));<br> <br>if: $s_user->auth;<br> $nav->(insert( <br> -key='logout', <br> -label='Logout'));<br>else;<br> $nav->(insert( <br> -key='login', <br> -label='Login'));<br>/if; <br><br>// determine current location so we know what the current path and actionpath is<br>$nav->getlocation;<br><br>?></div><div><br></div><div>I have tried to use the link /login/logout/ and /logout/ but not clear on which it should be. </div><div><br></div><div><a href="http://act_logout.inc">act_logout.inc</a> does not seem to even be called. </div><div><br></div><div>if($s_user->auth);<br> // log out the user<br><br> $s_user->logout;<br> $message->insert($lang_ui->youhaveloggedout);<br> <br> // reload navigation to prevent access to privileged pages<br> $nav->include('_config/<a href="http://cfg__nav.inc">cfg__nav.inc</a>');<br>/if;<br></div><div><br></div><div>Any suggestions on how to start to debug this?</div><div><br></div><div>(NOTE: At this point I have disabled the jquery mobile formatting of a page to get the basic functionality working)</div><div><br></div><div>I have not modified anything in <a href="http://knop.lasso">knop.lasso</a><br></div><div><br></div><div>Michael<br></div></span></body></html> <P><PRE>-- =0D #############################################################=0D This message is sent to you because you are subscribed to=0D the mailing list <knop@lists.montania.se>.=0D To unsubscribe, E-mail to: <knop-off@lists.montania.se>=0D Send administrative queries to <knop-request@lists.montania.se>=0D List archive http://lasso.2283332.n4.nabble.com/Knop-Framework-Discussion-f3157831.html=0D Project homepage http://montania.se/projects/knop/=0D Google Code has the latest downloads at http://code.google.com/p/knop/
Feb 28
Steve Piercy - Web Site Builder Re: logout not working?
Feb 28, 2011; 19:46
Steve Piercy - Web Site Builder
Re: logout not working?
Feb 28
mail Re: logout not working?
Feb 28, 2011; 21:56
mail
Re: logout not working?
Feb 28
mail Re: logout not working?
Feb 28, 2011; 22:08
mail
Re: logout not working?
Feb 28
Steve Piercy - Web Site Builder Re: logout not working?
Feb 28, 2011; 21:26
Steve Piercy - Web Site Builder
Re: logout not working?
Feb 28
Steve Piercy - Web Site Builder Re: logout not working?
Feb 28, 2011; 21:43
Steve Piercy - Web Site Builder
Re: logout not working?
Mar 01
Johan Solve Re: logout not working?
Mar 01, 2011; 09:08
Johan Solve
Re: logout not working?
Mar 01
Johan Solve Re: logout not working?
Mar 01, 2011; 09:27
Johan Solve
Re: logout not working?
Mar 01
mail Re: logout not working?
Mar 01, 2011; 17:18
mail
Re: logout not working?
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!