woodstock
  1. woodstock
  2. WOODSTOCK-1325

Session lost in IE6 even with cookies blocked

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.1.1
    • Fix Version/s: not determined
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      1,325

      Description

      When navigating an app that uses woodstock components in IE 6 and 7,
      session expires without any apparently reason largely before
      session timeout ( event with big numbers set into web.xml for session-
      timeout ). In Firefox there's no such a problem.

      I read Netbeans' fellows' suggestion to block cookies, but that doesn't do the
      trick.

      My application is frame-based ( top, left and body ) and, on left frame, I use
      a [woodstock] tree component as a menu for navigation with, as target,
      the "body" frame.

      Can you suggest me how to work around this BIG problem ?
      Please, help me.

      Thanks in advance
      Tony

      P.S.

      I saw this is an issue even for GlassFish admin console.
      Also in GlasshFish admin console ( made with woodstock components ) I see this
      ugly behaviour: session is lost after about 20 postbacks/page-changes ...
      causing a redirect to Login page ) !

      Here is my configuration (from NetBeans Help Menu):
      ------------------------------------------------------------------
      Product Version: NetBeans IDE 6.0 (Build 200711261600)
      Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
      System: Windows XP version 5.1 running on x86; Cp1252; it_IT (nb)
      Userdir: <DriveLetter>:\Documents and Settings\<userName>\.netbeans\6.0
      ------------------------------------------------------------------

      And that's my relevant parts of web.xml
      -------------------------------------------------------------------

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
      http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
      <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
      </context-param>
      <context-param>
      <param-name>com.sun.faces.validateXml</param-name>
      <param-value>true</param-value>
      </context-param>
      <context-param>
      <param-name>com.sun.faces.verifyObjects</param-name>
      <param-value>false</param-value>
      </context-param>
      <context-param>
      <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
      <param-value>true</param-value>
      </context-param>
      :
      <filter>
      <filter-name>UploadFilter</filter-name>
      <filter-class>com.sun.webui.jsf.util.UploadFilter</filter-class>
      <init-param>
      <description>The maximum allowed upload size in bytes. If this is
      set to a negative value, there is no maximum. The default value is
      1000000.</description>
      <param-name>maxSize</param-name>
      <param-value>100000000</param-value>
      </init-param>
      <init-param>
      <description>The size (in bytes) of an uploaded file which, if it
      is exceeded, will cause the file to be written directly to disk instead of
      stored in memory. Files smaller than or equal to this size will be stored in
      memory. The default value is 4096.</description>
      <param-name>sizeThreshold</param-name>
      <param-value>4096</param-value>
      </init-param>
      </filter>
      <filter>
      <filter-name>LoginCheckFilter</filter-name>
      <filter-class>com.cid.arsan.web.filter.LoginCheckFilter</filter-class>
      <init-param>
      <description>il nome della variabile in cui vengono memorizzati i
      dati dell'utente in sessione</description>
      <param-name>UserSessionVariable</param-name>
      <param-value>SessionBean1</param-value>
      </init-param>
      </filter>
      <filter-mapping>
      <filter-name>LoginCheckFilter</filter-name>
      <url-pattern>/tracciati/*</url-pattern>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>FORWARD</dispatcher>
      </filter-mapping>
      <filter-mapping>
      <filter-name>UploadFilter</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      </filter-mapping>
      <filter-mapping>
      <filter-name>LoginCheckFilter</filter-name>
      <url-pattern>/admin/*</url-pattern>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>FORWARD</dispatcher>
      </filter-mapping>
      :
      <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <init-param>
      <param-name>javax.faces.LIFECYCLE_ID</param-name>
      <param-value>com.sun.faces.lifecycle.PARTIAL</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
      </servlet>

      <servlet>
      <servlet-name>ExceptionHandlerServlet</servlet-name>
      <servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class>
      <init-param>
      <param-name>errorHost</param-name>
      <param-value>localhost</param-value>
      </init-param>
      <init-param>
      <param-name>errorPort</param-name>
      <param-value>24444</param-value>
      </init-param>
      </servlet>
      <servlet>
      <servlet-name>ThemeServlet</servlet-name>
      <servlet-class>com.sun.webui.theme.ThemeServlet</servlet-class>
      </servlet>
      <servlet>
      <servlet-name>TracBuildServlet</servlet-name>
      <servlet-class>com.cid.arsan.web.servlet.TracBuildServlet</servlet-
      class>
      </servlet>
      :
      <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>ExceptionHandlerServlet</servlet-name>
      <url-pattern>/error/ExceptionHandler</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>ThemeServlet</servlet-name>
      <url-pattern>/theme/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>TracBuildServlet</servlet-name>
      <url-pattern>/TracBuildServlet</url-pattern>
      </servlet-mapping>
      :
      <session-config>
      <session-timeout>60</session-timeout>
      </session-config>
      <welcome-file-list>
      <welcome-file>/Avvia.jsp</welcome-file> <!-- JSP Standard -->
      </welcome-file-list>
      ------------------------------------------------------------------

      IE and GlassFish version
      -------------------------------------------------------
      IE Version: 6.0.2900.2180.xpsp_sp2_qfe.070227-2300
      GlassFish Version: Sun Java System Application Server 9.1 (build b58g-fcs)
      -------------------------------------------------------

        Activity

        Hide
        tonyweb added a comment -

        Excuse me, I forgot to mention I'm using NetBeans 6.0 to build the app.

        Regards,
        Tony

        Show
        tonyweb added a comment - Excuse me, I forgot to mention I'm using NetBeans 6.0 to build the app. Regards, Tony

          People

          • Assignee:
            mlaut05
            Reporter:
            tonyweb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: