Throw custom exception on click of a tab

I want to redirect to logout page on click of tab item if it throws an exception. How do I implement this? 

Hello, 

With logout page you mean "logout user"?

I think you can do somwthing like this:

1 - Logout User
2 - Redirect to Login page


Hope it helps.

BR,

Luis

Luís Cardoso wrote:

Hello, 

With logout page you mean "logout user"?

I think you can do somwthing like this:

1 - Logout User
2 - Redirect to Login page


Hope it helps.

BR,

Luis

Thanks Luis, it worked for me.



Hi Neah,


If Luis answer is the solution of your problem, can you mark it as Solution please? This can help other that have the same question that you had.


Thanks! :)


Best regards,

Ricardo