how to kill te particular session object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kaleeswaran
    New Member
    • Mar 2007
    • 132

    how to kill te particular session object

    hi!
    i have used session for different action like user login,Date and Time,Transactio n...etc,.so i need to kill the particular session object like Transaction only..is there any way to kill the particular session object.
    give me the solution.....
    thank you,
    kaleeswaran
  • BigDaddyLH
    Recognized Expert Top Contributor
    • Dec 2007
    • 1216

    #2
    Are you referring to javax.servlet.h ttp.HttpSession ? If so, have you studied its API?

    Comment

    • abhishekbrave
      New Member
      • Dec 2007
      • 79

      #3
      Originally posted by BigDaddyLH
      Are you referring to javax.servlet.h ttp.HttpSession ? If so, have you studied its API?
      u can use
      Code:
      session.removeAttribute("<variable name>")

      Comment

      Working...