| Author |
Httpsesion Listener is not working properly?
|
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
this is my loging.jsp
this is my listener class
when a user loging it doesn't access the listener class?
where is the problem?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
What makes you think that anything you do during the login processing (the part that you didn't deem suitable to show us) will trigger the listener?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
this is Adminprocessor.java servlet
this is loging.java
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
But you didn't answer my question.
|
 |
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
|
creating a new session.
|
 |
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
anyway is my answer is correct or not?
can anyone help me how to create session with trigger each and everytime?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
Samanthi perera wrote:creating a new session.
Please try using complete sentences when posting. What makes you think that a new session is being created?
Samanthi perera wrote:anyway is my answer is correct or not?
can anyone help me how to create session with trigger each and everytime?
Getting snippy will not help you get better or faster answers.
You need to think about the assumptions that you are making. Are they really true?
|
 |
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
i am still have that problem?
please help me.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
You aren't putting in any effort yourself.
Please answer my questions: What makes you think that the listener is not working? What assumptions are you making to support that claim?
Please use complete sentences. Please think about the problem rather than just expecting someone else to do it for you.
|
 |
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
|
HttpSessionListener active when their is a change is session.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
That is not correct. The name of the class in your post is a link to the javadoc which spells out when the listener methods are activated.
|
 |
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
|
can you please give me an example?
|
 |
Thomas Kennedy
Ranch Hand
Joined: Jan 20, 2008
Posts: 137
|
|
|
You didn't show us your web.xml. Have you taken a close look at it?
|
Costs matter. Justice lies in processes not outcomes. Crime is caused by criminals.
|
 |
 |
|
|
subject: Httpsesion Listener is not working properly?
|
|
|