0 Replies Latest reply on May 28, 2013 8:21 AM by Aakeef Ahmed

    Getting Error while "cookie-config" : Session-config must match session-timeout

    Aakeef Ahmed Newbie

      For "cookie-config"

       

      When i add this peice of code in my web.xml getting this error :

      "Session-config must match session-timeout"

      _________________________

      <session-config>

        <cookie-config>

      <http-only>true</http-only>

        </cookie-config>

      </session-config>

      _________________________

       

      I'm using dtd "/web-app_2_3.dtd".

      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

                        "http://java.sun.com/dtd/web-app_2_3.dtd">   

       

      if i chnage this to "/web-app_3_0.dtd" --->getting error while starting Jboss.

       

      Thnaks to please help in this.