Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
49 views

I would like to create an endpoint/servlet in tomcat to expose the state of an HttpSession -- basically how long until it expires -- for the sake of giving the user a warning that they will be logged ...
Mumonkan's user avatar
  • 151
-1 votes
1 answer
73 views

Why is Code 1 working but not Code 2 when accessing session attributes? I'm facing an issue where my session attribute works fine in Code 1, but not in Code 2. Code 1 (Working) session.setAttribute(&...
0 votes
0 answers
47 views

how can I create new active httpsessions on the controller level during request to endpoint? I am not using any dependency for sessions in springboot...just vanilla httpsession from TomCat. thnanks I ...
0 votes
1 answer
72 views

I use this code. After setting passwordChanged, when I click (first request) then it invalidates the session in authenticationServices.logout(getHttpServletRequest()), and on the next request it goes ...
0 votes
1 answer
40 views

This is a HeapDump snapshot from my application running locally, "standardSessionFacade" is Tomcat implementation for HttpSession, now I am logged in with only a user then why are there 5 ...
0 votes
1 answer
55 views

We have a standard J2EE/Struts internal web application that has been used in production for many years. We save many Java objects into HttpSession then retrieve them for one request to another. It ...
3 votes
1 answer
546 views

Im revising and learning Spring Boot. With the 3.3 latest version, there are issues saving the security context in the session. What I am trying to do is have a regular Server side stateful session ...
0 votes
0 answers
17 views

Public class Logout extends HttpServlet{ @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { HttpSession ...
-1 votes
1 answer
152 views

I am writing a test with Playwright, for a java application setting attributes in the user httpsession, to be shared across different pages. The test opens the app in one page, adds an attribute to ...
0 votes
1 answer
1k views

I upgraded Struts version 2.3 to 6.0. It's built successfully but when I am trying to login to the application I am getting UT000010: Session is invalid HubC5VAM4TUaSwQgPtLbbmAEXTAZii0VTrfXfNJw on ...
0 votes
1 answer
1k views

I'm getting this error *************************** APPLICATION FAILED TO START *************************** Description: Field httpSession in com.example.splitwise.Controllers.UserController required ...
2 votes
1 answer
432 views

I have an ASP.NET Core 6.0 web app using Razor pages. For authentication, I'm using the MS Identity subsystem / OpenID Connect, with Azure Active Directory as my identity provider. This all works ...
-1 votes
1 answer
79 views

I have a code to send post requests to a NestJS api. It works, but there's a request that returns the following json: (Multiplied the entrires to help understand the context) [ { "...
Alms's user avatar
  • 119
0 votes
1 answer
64 views

I created an external HttpPOST.swift file for handling http requests easy. It works great, but when i try to pass the response data to a dictionary, i get an error: Cannot assign value of type '...
Alms's user avatar
  • 119
1 vote
0 answers
89 views

I have python workers. They use a similar code than the one below: import requests class Requester: def __init__(self): self.session = requests.Session() def get(self): ...

15 30 50 per page
1
2 3 4 5
...
44

AltStyle によって変換されたページ (->オリジナル) /