Hi Chris,

     Thanks for your suggestion. Now its working.
Thanks a lot...
Arvind


--- Christoph Lassner <[EMAIL PROTECTED]>
wrote:

> Hi Arvind,
> 
> you can simply put an onUnload Javascript Listener
> in the bodytag on your
> successful-logout page. Like this:
> 
> <body
>
onUnload="document.location.href='http://yoursite.com/login.jsf';">
> 
> If you have no other links on this page, this will
> be enough. If there are
> any other links, you'll have to write a little
> Javascript-function that
> redirects the user either on the link page, or the
> login page. If this is
> wanted, just write another mail...
> 
> Regards
> Chris
> 
> 
> Mr Arvind Pandey <[EMAIL PROTECTED]> schrieb
> am 04.09.2006
> 14:37:29:
> 
> >
> > Hi All,
> >
> >     MyFaces JSF 1.1
> >
> >     Once I have looged out successfully, I need to
> go
> > to login page if user uses back button of browser.
> >
> >     Currently I kill the session during logout.
> But
> > when I use back button of browser then it goes to
> > previous page i.e. previous to logout page. In
> > previous page if I perform some operation it does
> not
> > allow because I have killed the session.
> >
> >      But I need to go to login page when I use
> back
> > button of browser after I have been logged out
> > succeessfully.
> >
> >        Any suggestion ?
> >
> > Thanks and regards....
> > Arvind
> >
> >
> >
> >
> >
> >
>
__________________________________________________________
> > Yahoo! India Answers: Share what you know. Learn
> something new
> > http://in.answers.yahoo.com/
> 
> 



                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Reply via email to