Hi!
This question might be very easy... I have 2 different applications where the first one links to the other. I want to set the name om the user in the session and then use this in the next. What I am doing is:
1.
String name="STRHEI";//request.getAttribute("name").toString();
session.setAttribute("bruker",name);
<a href=http://localhost:9080/XXX/XXX.jsp>Tips</a>
2.
session = request.getSession(true);
String profils=(String)session.getAttribute("bruker");
System.out.println("jsp="+profils);
Prints out null.... Why isn't the value in the session? Does the href starts a new session? WHat is the workaround?
Age