• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Session Out Problem

Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">



<description>Restrict Main app to admin users</description>


<description>Admin users are assigned to this role.</description>
<description>General users are assigned to this role.</description>
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic