This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes delete session with button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "delete session with button" Watch "delete session with button" New topic

delete session with button

oussama jlassi

Joined: Dec 23, 2011
Posts: 25
hi when i press the button the session wont delete

Paul Clapham

Joined: Oct 14, 2005
Posts: 18716

What button do you mean? And what session do you mean? And why should something be deleting it?
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

I would highly recommend moving that code to a JSP. Can you also elaborate on what you mean by 'delete session' ? The JEE APIs provide methods to invalidate sessions if that is what you mean.

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Don't get me started about those stupid light bulbs.
subject: delete session with button