Hi,
I'm not sure if I am in the good groupe because this question is tied with many aspect of
java.
I've done many
JSP which store some values in session. When I
test it with a browser like IE5, the session work the values are transfer to the other page until I close the browser. This works very fine.
BUT when I use a Java Application the values don't store in the session. Here how it works normally.
In my application I open an login dialog who call the corresponding jsp lets call it login.jsp. When he found the corresponding user in the database it put the value in the session (UserID).
After that I want for example to change my password. So I open my dialog box in my application I write my new password and call the corresponding jsp (change.jsp). But he never find any UserID because it's value is null now. It didn't keep the session.
I think I've know what the problem is but can't solve it.
Here I call two jsp, each time I made an URLConnection.openConnection().
I think when I call this, a new session is opening and this is causing me the problem.
Am i right? And if yes how can I solve this problem?
Thanks in advance for the answer
Frank