cancel
Showing results for 
Search instead for 
Did you mean: 

Create new stateful session

Former Member
0 Kudos

Hi all,

i have a application running in a stateful session, a link in that application should open a new window with the same application, but it should run in a new separate stateful session.

Is their a way how to accomplish that ?

best regards

Matthias Hlubek

Accepted Solutions (0)

Answers (2)

Answers (2)

daniel_humberg
Contributor
0 Kudos

you should try to add this parameter to your URL


?sap-syscmd=nocookie

This will create a new session and insert the session ID into the new URL (between the brackets).

Regards,

Daniel

athavanraja
Active Contributor
0 Kudos

1. Set the BSP application to stateful.

2. for the link <b>instead of relative url, use absolute url</b>.

3. now check sm04 you will see one session for the main application and one session for the link (after clicking the link)

Regards

Raja

Former Member
0 Kudos

Hi Raja,

sorry but i doesn't not work what did i wrong ?

1. I created a new BSP application and set it to stateful

2. I created a page with flow logic

3. I put this into the layout<a href="http://sapsystem.com:8000/sap/bc/bsp/sap/zstate_ful/stateful.htm" target="_blank">drueck mich</a>

But only one session will be created.

best regards,

matthias

athavanraja
Active Contributor
0 Kudos

is the link pointing to the same page?

i had two pages and from page a i was linking to page b.

the only other difference is, i didn't use target attribute for link.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

further observations:

when i used htmlb:link pointing to the same page page it didnt create new session.

Regards

Raja

Former Member
0 Kudos

yes it points to the same page. But if you didn't use the target attrbute how did you get the link open in a new window ?

regards,

matthias

athavanraja
Active Contributor
0 Kudos

No, I wasn't trying to open it in a new window.

Regards

Raja