Hi Eason,
that's not possible: client settings cannot block the server side cookie.
Let's assume this coding in the OnInputprocessing at page A:
username = sy-uname.
TRANSLATE username TO LOWER CASE.
Store.
cl_bsp_server_side_cookie=>set_server_cookie( name = 'SEARCH'
application_name = runtime->application_name
application_namespace = runtime->application_namespace
username = username
session_id = runtime->session_id
data_name = 'FOUNDS'
data_value = founds
expiry_time_rel = '600' ).
This defines a ssc (server side cookie).
You can show cookies via report BSP_SHOW_SERVER_COOKIES.
On page B (the successor of A) you can get the content via:
CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
EXPORTING
name = 'SEARCH'
application_name = runtime->application_name
application_namespace = runtime->application_namespace
username = username
session_id = runtime->session_id
data_name = 'FOUNDS'
CHANGING
data_value = founds.
Try this.
Best regards,
Stefan
Hi Eason,
Did the replies help? If so, don't forget to assign points. I gave them some, but feel free to increase them!
See: /people/mark.finnern/blog/2004/08/10/spread-the-love for directions.
Click on the Yellow Star icon in each reply.
You can give:
1 - 10 pointer (solves problem, marks as answered)
2 - 6 pointers (very helpful)
Lots of 2 pointers (helpful)
Thanks!
Linda (and Mark Finnern)
Add a comment