You could also try setting a Boolean value to true once a user has 
logged in.  When they loggout, set the variable to false.  In your 
app, anytime that variable is false, it will force a log in.

--- In [email protected], "Igor Costa" <[EMAIL PROTECTED]> wrote:
>
> Kumar.
> 
> Just refresh your Page, I guess this could help you .
> 
> public function logoff():void {
>     var url:URLRequest = new URLRequest("PageAppWarpper.html");
>     navigateToURL(url, "_self");
> }
> 
> 
> Regards.
> 
> On 11/18/06, KP <[EMAIL PROTECTED]> wrote:
> >
> >    Hi All,
> >
> >
> >
> > In my Application I have authentication form when my application 
starts ,
> > if the login is successful then user can perform some task
> >
> > now the problem is I have to give one logout button in my 
application
> > which will perform below task if it is clicked.
> >
> >
> >
> > If logout button is clicked I want to go back @ auttentication 
page and
> > again ask user for username and password.
> >
> >
> >
> > I am getting proper approach for doing this can some one suggest 
some
> > approach on this one.
> >
> >
> >
> > Thanks
> >
> > Kumar
> >
> >  
> >
> 
> 
> 
> -- 
> ----------------------------
> Igor Costa
> www.igorcosta.com
>



Reply via email to