Re: Destoy a session??
From: Heiner Kücker (Mail_at_Heiner-Kuecker.de)
Date: 02/22/05
- Next message: Doug Hoffman: "Re: OO programming - illumination? - whoopsie"
- Previous message: Kevin McMurtrie: "Re: how to code to avoid SQL insertion attacks"
- In reply to: Amy: "Destoy a session??"
- Next in thread: William Brogden: "Re: Destoy a session??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Feb 2005 01:09:52 +0100
Amy
> I have a webapp that is one JSP page and one bean.
>
> The bean connects to a database and does some tracking.
>
> The url looks like this...
> http://www.mydomain.com/folder/index.jsp?lcq=1/2/1
>
> This sets a level, course and quiz number in the bean which
> is then used for the rest of the users session.
>
> When the user has finished, they are expected to go on
> to the next quiz...
> http://www.mydomain.com/folder/index.jsp?lcq=1/2/2
>
> q is now 2. My question is, how do I destroy the session bean
> so that all data is reloaded?
session.removeAttribute(String);
session.invalidate();
-- Heiner Kuecker Internet: http://www.heinerkuecker.de http://www.heiner-kuecker.de JSP WorkFlow PageFlow Page Flow FlowControl Navigation: http://www.control-and-command.de Java Expression Formula Parser: http://www.heinerkuecker.de/Expression.html Domain Specific Languages http://www.heinerkuecker.de/DomainParser.html
- Next message: Doug Hoffman: "Re: OO programming - illumination? - whoopsie"
- Previous message: Kevin McMurtrie: "Re: how to code to avoid SQL insertion attacks"
- In reply to: Amy: "Destoy a session??"
- Next in thread: William Brogden: "Re: Destoy a session??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|