Questions tagged [sessiontracking]
21 questions
0
votes
2 answers
Trouble in session logout
I have read that there is the method logout() that we can use in servlets.
So,I am doing something like this
HttpSession sr=request.getSession();
sr.logout();
But this gives me an error that it cannot find the symbol logout();
Plz help.I want the…

Saumyaraj
- 1,220
- 3
- 15
- 37
0
votes
1 answer
Session tracking in servlets and jsp
I have first created a login panel(index.jsp) in jsp,where user enters username and password which on submit goes to a servlet(login) which checks authenticity of user and takes it to home page after validating(home.jsp).
I want to store the user…

Saumyaraj
- 1,220
- 3
- 15
- 37
0
votes
2 answers
How to implement multiple user Login using sessions in JSF
I am new to JSF, I am working on web project.
I want to implement Login system, where multiple users can Login. Just like Facebook or any other website where you give username and password and access you account.
The other thing I want is, if a…

Androider
- 2,884
- 5
- 28
- 47
0
votes
1 answer
A Struts 1.3 application:enforcing a timestamp passing parameter with every URL
I would like to enforce a dynamic parameter (time-stamp) with every url of the application
I would like to use this parameter to solve the iterative problem of invoking the browser back button or a url from the history by comparing the current page…

user1439915
- 1
- 1
-1
votes
1 answer
Forwarding a request from one servlet to another using Request dispatcher
I was trying to create a cookie in one servlet , add it to response() and forwarded it to another servlet using DisaptcherServlet and tried to retrive the cookie using request.getCookies(). But this always coming out to be null.
//Servlet one…

juniorDeveloper
- 225
- 3
- 18
-1
votes
1 answer
Session tracking does not persist
Here is my code. The HttpSession we used was also used in class and it worked but doesn't work now. And I cannot print anything after the for loop. I use doGet() method. We need to store the stringToPhone in a session object and the carrierNum to a…

whitecrow
- 1
- 2