Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

HTTP Session

Dear All,
        I copy the folder examples/web/session/META-INF with few modifications to my web project, and use the "build.sh deploy" to deploy it on Gigaspaces. It seems good, 2 processing units added: "mySpace" and myproject_name, I check the processing instance of my project, Remote Space Proxies is the same with the sample project(HttpSession).
        When I browse it through load balancer, the session id was kept, but the other session attributes were not shared, the session attributes could only be loaded on the instance it created.
         Please help....
Thanks a lot.

Bill

Attachments

  1. 1123.JPG

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2011-02-22 21:03:30 -0500

wbc gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

Which GigaSpaces release you use?
What do you store within the session?
Do you see the session data within the space via the GS-UI?
Are you sure all session attributes are serializable?
Any error message logged ?
Shay

Attachments

  1. 1123.JPG

answered 2011-02-22 22:50:56 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Which GigaSpaces release you use?
7.1.3

What do you store within the session?
string

Do you see the session data within the space via the GS-UI?
not really...

Are you sure all session attributes are serializable?
not all.

Any error message logged ?
under GSHOME/logs/ ? No(not related).

Thanks.

Attachments

  1. 1123.JPG
wbc gravatar imagewbc ( 2011-02-22 23:10:03 -0500 )edit

Can you deploy the example under \gigaspaces-xap-premium\examples\web\session and see if this works for you?

shay hassidim gravatar imageshay hassidim ( 2011-02-22 23:18:57 -0500 )edit

Yes, it works.

wbc gravatar imagewbc ( 2011-02-22 23:19:43 -0500 )edit

so there is something wrong with your session. make sure all its properties are serializable.

shay hassidim gravatar imageshay hassidim ( 2011-02-22 23:24:29 -0500 )edit

so, All the session value must be serializable?

wbc gravatar imagewbc ( 2011-02-22 23:30:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-02-22 21:03:30 -0500

Seen: 104 times

Last updated: Feb 22 '11