|
Hi Jason, I made a quick experiment with javaflow. Yeah, you are completely right, global variables DOES NOT span sessions, static ones does. They are initialized for each user session, and when the sitemap changes if sitemap gets reloaded. They are not bound to continuations, that means that if I initialize private int a = 1, then check a value and send a form, the set a = 2, if the user hits the back button "a" will still be 2. So, they should not be used for "state" informations with a scope smaller than user session, but can safely be initialized with session values. Sorry for saying uncorrect things, I'm sure i had problems with global variables spaning different sessions in flowscript back in 2.1.6 and thought this remained unchanged 'till now. Simone Jason Johnston wrote: Simone Gianni wrote: |
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
- Re: Cast type in flowscript [ Javaflow] Jason Johnston
- Re: Cast type in flowscript [ Javaflow] Simone Gianni
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
- Re: Cast type in flowscript [ Javaflow] Simone Gianni
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
- Re: Cast type in flowscript [ Javaflow] Simone Gianni
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
