on 02-04-2004 3:47 PM
Hi @ all,
I have a problem to solve... I've got a BSP application with MVC which is in
stateful mode at the moment but I have to made it stateless now.
So does anyone have some tips for me f.e. how to hold the hole view data
over some requests or anything else I have to attend?
Greetz Matthias
Hi Matthias,
to me it seems very strange to use MVC in stateless mode -
You could store youre data (fields, structures, tables) in a complex structure and set this structure in a server cookie when your coding is finished.
Use the static set/get methods of class cl_bsp_server_side_cookie.
Before you start to react on the user input you call the cookie via the get-method.
Regards, Bernd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bernd,
I did it like that at the moment, you could store your data with export/import from/to memory in an xstring which you could save as a server cookie.
But if you use controller and modell classes then the model reference also will be destroyed after user action - it's tricky but it seems to works now. Thanks for your help
Regards Matthias
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.