cancel
Showing results for 
Search instead for 
Did you mean: 

Session Ids

Former Member
0 Kudos

Hi,

How do I store the session ids of the stateful session beans.Their type is void.How can I persist them in the local database?

Regards

Bhavana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hey Bhavana,

In Stateful session bean you store session in atleast three ways:

1. Store the state in a cookie.

2. Rewrite URLs to include the encoded state.

3. Keep the state in hidden form variables.

You mentioned type is void then why you want to store data in persistence manner. no parameter passing mean you can go for stateless session bean.

Regards

Suresh