kapitany
asked on
session id problem
Hi,
I'm writing a servlet which maintains accounts. So you can log in with username passwd. It is based on the HttpSessionid. So as long as the session is open the user has the same session id. I also have applets that checks if the user is logged in. And here comes the problem... When I post a request from an applet to the servlet with Netscape I'm not getting the same session id. Why?? With explorer works fine but I think hetscape is generating a new session id. Has someone had similar problems??
Or what is the good way to manage user sessions?? The session Id looked promising but now I'm lost.. Could someone help me out??
I'm using ObjectInputStream and ObjectOutputStream to communicate between applet and servlet.. And this seems to be not working.
THX,
Kapi
I'm writing a servlet which maintains accounts. So you can log in with username passwd. It is based on the HttpSessionid. So as long as the session is open the user has the same session id. I also have applets that checks if the user is logged in. And here comes the problem... When I post a request from an applet to the servlet with Netscape I'm not getting the same session id. Why?? With explorer works fine but I think hetscape is generating a new session id. Has someone had similar problems??
Or what is the good way to manage user sessions?? The session Id looked promising but now I'm lost.. Could someone help me out??
I'm using ObjectInputStream and ObjectOutputStream to communicate between applet and servlet.. And this seems to be not working.
THX,
Kapi
ASKER
Ok to make really clear. Netscape uses 2 session id-s. One for the applet and one for the html. How can I know which belongs to the same browser?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
kapitany,
These questions are still open. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=oracle&qid=20095187
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20158327
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20156151
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20137619
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20127621
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20115335
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20079274
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=11906858
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=11500498
https://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20126885
https://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20117560
https://www.experts-exchange.com/jsp/qShow.jsp?ta=linuxnet&qid=20097295
EXPERTS: Please leave your thoughts on this question here.
Thanks,
Netminder
Community Support Moderator
Experts Exchange
These questions are still open. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=oracle&qid=20095187
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20158327
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20156151
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20137619
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20127621
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20115335
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20079274
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=11906858
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=11500498
https://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20126885
https://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20117560
https://www.experts-exchange.com/jsp/qShow.jsp?ta=linuxnet&qid=20097295
EXPERTS: Please leave your thoughts on this question here.
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Force/accepted by
Netminder
Community Support Moderator
Experts Exchange
Netminder
Community Support Moderator
Experts Exchange
ASKER
??