Then, a HTTPSESSION will be created, and mantained with the JSESSION cookie. Is true that, afterthat, the form is no longer submitted since I already have the data onf the authenticated user on the JSESSION ? Could I access to the data (getUserName) of the user only trough that session ?
If so, since the data of the session is stored on the JSESSION cookie.. What happens If I get redirected to another WebLogic Server ? What happens if a open antoher applicatoon on that server (or a different one) that has his own session ?
The data is not stored
on the cookie. The data is stored using the session ID, a piece of
string, as a key for later access. Once you've created a session ID, you don't need to submit any login forms unless you want to perform another authentication.
Yes, the user's data can be accessed only through that session. Note that you can only access such user data that you have explicitly stored into the javax.servlet.http.HttpSession.
Regarding the redirection, clustered application servers either don't redirect a request of an existing session to another server instance or replicates the session data so that it doesn't matter which server gets the request.
I'm afraid I didn't quite understand what you're after with "What happens if a open antoher applicatoon on that server (or a different one) that has his own session?"... Would you like to elaborate on it?