Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Data lost #80

Open
daipenfei opened this issue Jun 13, 2016 · 5 comments
Open

Session Data lost #80

daipenfei opened this issue Jun 13, 2016 · 5 comments

Comments

@daipenfei
Copy link

when I put an customized object into session and get it immediately, the object is OK. But when the new request comes, the object from session lose some key data.

The customized object has implemented serializable and it's an URL-trie structure.

@lawrenberg
Copy link

@daipenfei I am having the same issue. Did you find a solution yet? I am using struts2 as the framework.

@jcoleman
Copy link
Owner

Is it possible that you have multiple requests happen at similarly times and that you're blowing away the value in another quest?

@lawrenberg
Copy link

lawrenberg commented Apr 20, 2017

I thought this too but I am only see one request coming in based on localhost access logs.

@DevilMayCrySamsara
Copy link

I have the same question..... I put an customized object into session,and new request comes ,there is no key data in redis ,but It doesn't always happen

@maheshchotrani
Copy link

@daipenfei , @DevilMayCrySamsara , any of you able to get a solution for this ?

The pattern is very intermittent, but quite a few portal end users are facing this, and even setting sessionPersistPolicies to SAVE_ON_CHANGE or ALWAYS_SAVE_AFTER_REQUEST or both is not helping.

Environment : Tomcat 7.0.90, Jedis 2.10.2, Commons Pool 2.4, Java 7 (build 55), Redis 5.

@jcoleman, Appreciate any directions to have it solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants