cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate MYSAPSSO2 cookie?

former_member186148
Active Participant
0 Kudos

Hello!

Is it possible to generate MYSAPSSO2 cookie in WebDynpro or J2EE/JSP applications? These apps running as standalone, not in the SAP Portal. Also WD apps not using sap.authentificate property since I have to use my own login algorithm for it.

If yes could you give a code snippets for this? I've tried to find it but found snippets only for reading such cookie.

P.S. I'm working with SAP Web AS 7.0

regards, Lev

Accepted Solutions (0)

Answers (1)

Answers (1)

ravindra_bollapalli2
Active Contributor
0 Kudos

hi,

this will give some idea to u

/message/382072#382072 [original link is broken]

http://rahulursportal.blogspot.com/2008_02_09_archive.html

check the note of 9

bvr

Edited by: bvr on Apr 6, 2009 12:28 PM

former_member186148
Active Participant
0 Kudos

Hi bvr!

Unfortunatelly in these links I didn't found any information about classes that can generate MYSAPSSO2 coockies. Can you give me such information?

regards, Lev

former_member186148
Active Participant
0 Kudos

Hi bvr!

Thanks for links. I laso found an example of login module for 7.0 http://help.sap.com/saphelp_nw70/helpdata/EN/3f/1be040e136742ae10000000a155106/frameset.htm

But is it necessary to create my own login module? I thought that checking MYSAPSSO2 coockie programmatically (and create it if doesn't exists) will be enought.

I've got WD Java Application (report) for CRM ISA 5.0. The "sap.authentification" property is false since appication has my own login screen and checks user login and password via standart CRM RFC login check module. At now user check working fine. But if user press F5 (refresh page) he got a login screen again. To prevent this I want to create programmatically MYSAPSSO2 cookie after successful login. But I don't know how such cookie can be created and readed.

regards, Lev

ravindra_bollapalli2
Active Contributor
0 Kudos

hi lev

check this thread

bvr

former_member186148
Active Participant
0 Kudos

Hi!

We're talking about different things. You give me links where described about application settings but I need a code example which demonstrates how to create and read MYSAPSSO2 cookie programmaticaly.

regards, Lev

former_member445109
Active Participant
0 Kudos

Hi Lev Kulaev ,

Is your problem resolved? i'm also facing the same problem, i also required that solution. pl send me the solution if you have .

Regards,

Sri