how to read data from the request after session timeout?

2009-08-20 Thread Georg Füchsle
Hallo all, when a session of an user timed out I display a Website telling 'Your Session expired; please login again!. Now I have to distinguish some 'loginType' of the user. If the user initially logged on by ldap i have to redirect him to another site as if he logged in by internal

Re: how to read data from the request after session timeout?

2009-08-20 Thread Werner Punz
FacesContext.getExternalContext().getRequest should point you towards the servlet request. Werner Georg Füchsle schrieb: Hallo all, when a session of an user timed out I display a Website telling 'Your Session expired; please login again!. Now I have to distinguish some 'loginType' of

Re: how to read data from the request after session timeout?

2009-08-20 Thread Georg Füchsle
Hallo Werner, I have got the request as a variable. Now I want to read from it the state of the hidden input-field, that was on the jsf-Page. This is the input-field: t:inputTextvalue=#{mbUser.loginType} id=loginType immediate=true

Re: how to read data from the request after session timeout?

2009-08-20 Thread Werner Punz
via getParameter, just the usual servlet way, have in mind that you have to use the clientId, the in html displayed id of the input field. JSF does an internal id mapping so the id loginType might be mapped to a value along the lines of viewId:formId:loginType Georg Füchsle schrieb: Hallo

Re: how to read data from the request after session timeout?

2009-08-20 Thread Georg Füchsle
Hallo Werner, that was what I was looking for! Thanks for your fast and excellent help! Cheers Georg 2009/8/20 Werner Punz werner.p...@gmail.com: via getParameter, just the usual servlet way, have in mind that you have to use the clientId, the in html displayed id of the input field. JSF

Re: how to read data from the request after session timeout?

2009-08-20 Thread Werner Punz
Glad I could help Werner Georg Füchsle schrieb: Hallo Werner, that was what I was looking for! Thanks for your fast and excellent help! Cheers Georg 2009/8/20 Werner Punz werner.p...@gmail.com: via getParameter, just the usual servlet way, have in mind that you have to use the