Hi Phillipe, Thanks for responding so quickly.
Below is the relevant code from my managed bean and from my xsp markup. When I run the page, instead of loading and and letting me click logout, it just automatically redirects to home.xsp. I have an nsf you can see, but I'm not sure where to send it.
Thanks
-Toby
public void logout() {
//Clear Session Map <-- Throws exception, but shouldn't if it is running onClick
//FacesContext.getCurrentInstance().getExternalContext().getSessionMap().clear();
try {
//redirects to home.xsp
XSPContext fctx = XSPContext.getXSPContext(FacesContext.getCurrentInstance());
fctx.redirectToPage("home.xsp");
}
catch (Exception e) {
System.out.println(e);
}
}