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 REST with Spring (video course) this week in the Spring 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: 19857

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
It is sorta covered in the JavaRanch Style Guide.
subject: delete session with button
It's not a secret anymore!