Skip to Content
0
Former Member
Apr 16, 2005 at 01:15 PM

Problem with session handling after put on release 6.40

19 Views

Hi All,

hopefully you can help me solving the following issue:

Background:

BSP Application || developed and productive on a 6.20 ||

Complete statless logic || Server Sided cookies are used to recover information's from one redirect to another ||

Problem:

For tests we put our integration server from release 6.20 to release 6.40. After the change we have massive issues with the session handling.

Located reason:

On our jump in page we create a server cookie with

cl_bsp_server_side_cookie=>set_server_cookie

EXPORTING

name = 'Example'

application_namespace = runtime->application_namespace

application_name = runtime->application_name

username = sys_username

session_id = runtime->session_id

data_name = 'SYSTEM'

data_value = page_data

expiry_time_rel = 60000 ).

After setting the cookie a redirect takes place to the next BSP-Page . On this site we need the information's from the server cookie. We get this with:

cl_bsp_server_side_cookie=>get_server_cookie

EXPORTING

name = 'Example'

application_namespace = runtime->application_namespace

application_name = runtime->application_name

username = username

session_id = runtime->session_id

data_name = 'SYSTEM'

CHANGING

data_value = page_data ).

And now the issue occurs. Runtime->session_id on this site is different to that on the jump in page. And for that we can't get the server cookie information.

Questions:

- Why session_id is different on the pages?

- Why this only happens on a 6.40? On a 6.20 the session_id's are identical.

- Is this a problem which can be solved by parameter settings (which are these?) ore only by changing the code?.

Thanks for your answers!

Regards

Kruno