Top "Httpsession" questions

An Java interface used by the servlet container to create a session between an HTTP client and an HTTP server.

Accessing ServletContext and HttpSession in @OnMessage of a JSR-356 @ServerEndpoint

I need to get the ServletContext from inside a @ServerEndpoint in order to find Spring ApplicationContext and lookup for a …

servlets jakarta-ee websocket httpsession java-websocket
Using a Stateful Session Bean to track an user's session

it's my first question here and I hope that I'm doing it right. I need to work on a Java …

session ejb javabeans httpsession stateful
Where are the Java HttpSession attributes stored?

Are the objects serialized and sent to the user and back on each connection (stored in cookies) ? Or are they …

java tomcat servlets cookies httpsession
How to set session attributes in Spring Boot?

I want to set a session attribute with the name that is send by user. User will first login in. …

java spring-boot session httpsession
Spring MVC - difference between HttpSession.setAttribute and model.addObject

I am trying to learn Spring MVC recently. It seems that i did not understand well the functionalities of @ModelAttribute …

spring spring-mvc session-variables httpsession modelattribute
Tomcat, keep session when moving from HTTPS to HTTP

I have a Java application running on Tomcat 6.0.29, with Apache 2.2.3 in front. The login page uses HTTPS, while most pages …

java https apache2 tomcat6 httpsession
how to implement custom http session in java?

I will need to implement my own version of HttpSession in Java. I have found very little information which explains …

java httpsession
mvc controller test with session attribute

I'm trying to test a method with this signature: @Autowired HttpSession http_Session; @RequestMapping(method=RequestMethod.GET, value="/search/findByName") …

spring-mvc controller attributes junit4 httpsession
Session ID re-used after call to invalidate

I've inherited a pretty ancient JSP application (JDK 1.3.1_15) and am attempting to plug a session fixation hole. I'm successfully invalidating …

java jsp httpsession jrun
JSP Servlet session invalidate() does not make session null

I have three simple HttpServlet classes in my JSP project, "LoginServlet", "LogoutServlet" and "ProfileServlet". LoginServlet: log in user by setting "…

java jsp session servlets httpsession