cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation with a new session

Former Member
0 Kudos

Hi,

my BSP application uses MVC and have a logon page.

Every time I navigate to this logon page I would like to get a new session.

I've tried it with the navigation object like:

navigation->goto_page( URL = 'login.do'

SESSION = 'NEW' ).

but this didn't work.

Thanks,

Stephan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

try with "URL=login.do?sap-sessioncmd=open

If you still have the problem after that try also with:

navigation->exit( EXIT_URL = 'login.do' ).

This, will close your actual SESSION and will start a new one..

Best regards

Ariel

Former Member
0 Kudos

Hi Ariel,

it works.

Thanks a lot for your help.

Regards,

Stephan

Former Member
0 Kudos

Remember to reward the message as "SOLVED problem"

Cheers

Ariel

Answers (0)