Sergio Berna

Greenhorn
+ Follow
since May 02, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sergio Berna

I have experienced that behaviour you describe sometimes and it usually doesnt have to do with the database or the file.

Do you need a session or a identification so that the file can be downloaded? If so you have to bear in mind that some applications such as word or excel download the file themselves outside the navigator with their own http code and session. If that is the case the the cookie specifying the session is lost and so you are no longer logged from the program, resulting in that behaviour.
17 years ago
As i see it they are both different things. You use httpSessions to store temporary data between page calls and you use an stateful ejb bean to use ejb beans that need some kind of state.

I would not join them both together by inserting the remote interface into the http session. You are bound to have a lot of problems with clustering and you would be limited to in memory session representation. If you need to store something for the session duration i would go for entity ejb and would only store the reference to the ejb pkid into the session.
17 years ago