jeetmp3 / spring-session

Apache License 2.0
18 stars 24 forks source link

Cookie name and dbIndex not working #4

Closed darinmanica closed 8 years ago

darinmanica commented 8 years ago

I've added the following values to my Config.groovy:

springsession.strategy.defaultStrategy.cookie.name="MY_COOKIE"
springsession.redis.connectionFactory.dbIndex=2

Spring session is working and I'm seeing the sessions in redis; however, they appear in the 0 database (rather than 2) and the cookie is named SESSION rather than MY_COOKIE. It appears that my configuration isn't being used. Other settings, such as the redis password, are working fine. Only these 2 values are being ignored.

jeetmp3 commented 8 years ago

Hi @darinmanica thanks for pointing the issue. Same has been fixed. you can upgrade the new version 1.1 Note: Property springsession.strategy.defaultStrategy.cookie.name is now changed to springsession.strategy.cookie.name Let us know if you face the same issue again

darinmanica commented 8 years ago

The 1.1 build works great and fixes the issue. Thank you!