Hi Friends, In my project I'm using frames for web pages and technologies are java, jsp, struts, Filter, LDAP, DB2,Ajax. My problem is whenever the session is timed out, If I tried to access any page, I'm getting the login page in the child frame. The upper frame remains the same. I'm doing session checking in Request processor. whenever the request comes from any page, it will goto reqprocessor and it will go to the subsequent page. This flow is working fine, when the is session true. Whenever the session is timed out, the request is not at all going to request processor. It's gone to login page. the login page shows in the child frame. I would have redirected the page to login page if I have a control. but I don't have any control if the session is timed out. I want to know the flow if the session is timed out. And Is there any way control if the session is out. I'm setting username in a session and I'm checking the username is null or not null in request processor. If it's null, it should go to session expired page otherwise continue. I'm sure every request is going to req processor except session out request. Can you please help how to get the session control. I think the the session timed out request taking the page from web.xml. If this is true, how to handle it manually. And I'm using Filter, j_security_check, LDAP for security. Is these things will affect the session flow? Is there any way to get the control of the session? here I mentined the web.xml file details.
<security-role> <description>Admin users are assigned to this role.</description> <role-name>iadmin</role-name> </security-role> <security-role> <description>General users are assigned to this role.</description> <role-name>iuser</role-name> </security-role> <resource-ref> <res-ref-name>Vptables</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> </web-app> Regards Kasi
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.