Depending on JVM version and browser, the JVM might not have access to the session cookie which is why the 3-step mode doesn't work.

In 3-step, the applet creates the HTTP requests to the server, and that HTTP request might not have the same cookies in the header (e.g. the session cookie) as the browser.

In 2-step mode, the applet calls the browser via javascript, and the browser itself makes the HTTP request (submits a form using javascript) thus there are no cookie problems, and your http session is available on the server.

So in short... don't use 3-step mode or you are asking for trouble ;)

/Kim Rasmussen

Jørgensen.Lasse Jan LJG skrev:

Hi,

We are using 3-step mode in Microsoft .Net environment.

The application uses Session state to persistate information.

After calling the applet It seems that there is no connection to the Session information.

     SignApplet.Challenge = Session.SessionID;

        //SignApplet.LogonMessage = reciever.GetName();

//LogonApplet.CdCardProd = (AppSettings.GetCurrentEnvironment() == KmdEnvironment.Int) ? "yes" : "dev";

As you can see, I have removed the comment lines. Despite on that, the problem remains.

(Please note that the last 2 lines still is commented).

Regards

**Lasse Jan Jørgensen,** Systemudvikler

kmd logo Forretningsteam Ejendom

Niels Bohrs Allé 185, DK-5220 Odense SØ

e-mail [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  web www.kmd.dk 
<http://www.kmd.dk>

direkte +45 44605245

____________________________________________________________________
www.kmd.dk www.kundenet.kmd.dk www.e-Boks.dk www.organisator.dk

Hvis du har modtaget denne mail ved en fejl vil jeg gerne, at du informerer mig og sletter den. KMD skaber it-services, der fremmer effektivitet hos det offentlige, erhvervslivet og borgerne.

If you received this e-mail by mistake, please notify me and delete it. Thank you. Our mission is to enhance the efficiency of the public sector and improve its service to the general public.

KMD A/S l Lautrupparken 40-42 l DK-2750 Ballerup l CVR-nr. 26911745

KMD er medlem af IT-Branchen, Dansk Erhverv, samt anmeldt til Datatilsynet som edb-servicevirksomhed. KMD er certificeret i henhold til ISO 9001:2000, med Dansk Standard som certificerende organ, Microsoft Gold Certified Partner, Certificeret SAP Hosting Center.

------------------------------------------------------------------------

_______________________________________________
Developer mailing list
[email protected]
https://www.openoces.org/mailman/listinfo/developer

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Developer mailing list
[email protected]
https://www.openoces.org/mailman/listinfo/developer

Reply via email to