On Thursday 25 Jul 2013 19:32:45 leuchtkaefer wrote:
> 
> Hello,
> 
> How can I store session data? Using toadlet context? I couldn't understood 
> how. Any example?
> 
> My problem:
> I need some info to remain during my session. Basically I have a page with a 
> select option to choose an identity (indexOwner). After selection, I pressed 
> a button and another form appears with a second button. After this button is 
> pressed I need to have access to indexOwner plus the input values send with 
> the second button. THe input values are obtained with the HTTPRequest 
> request.getPartAsStringFailsafe(..., however I can not get the indexOwner 
> value. 
>  
> Thanks,
> leuchtkaefer

Use SessionManager. Get it from PluginRespirator via getSessionManager(String 
cookieNamespace). This is what the other plugins do.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to