This content has been marked as final.
Show 4 replies
-
1. Re: Session Id no longer Alphanumeric
jaikiran Jul 11, 2012 2:05 AM (in response to tolafad)Moved to JBoss Web forum.
-
2. Re: Session Id no longer Alphanumeric
jfclere Jul 12, 2012 2:25 AM (in response to jaikiran)setting org.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET should be the way to remove the + - _ that are in the default encoding string.
-
3. Re: Session Id no longer Alphanumeric
tolafad Jul 19, 2012 5:00 AM (in response to jfclere)I set the property JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" in the conf file and it seem to work fine but intermittently I get another exception thrown
Exception initializing page context: java.lang.ArrayIndexOutOfBoundsException: 63
Since I wanted only alphanumeric characters i removed the + and - sign reducing the value from 65 to 63 characters. I think i read somewhere else that SESSION_ID_ALPHABET has to be 65 characters in length
-
4. Re: Session Id no longer Alphanumeric
jfclere Jul 23, 2012 5:54 AM (in response to tolafad)you need 64: from 0 to 3F.