We have already tried 2-step mode. But a new problem occurred:
The Java compiler do not accept a nested <form> tag. The ASPX page is constructed of a <form> page. Whith in this <form> tag I have my javascript and <form> tag. Then I found this description on OpenOces.org: ASP.NET recognizes OpenLogon as another user, and therefore stores your User instance in a different session. This problem can be solved by adding a few extra parameters to handle cookies: <param name="opensign.cookiecount" value="2"></param> <param name="opensign.cookie.1.name" value="foo"></param> <param name="opensign.cookie.1.value" value="bar"></param> <param name="opensign.cookie.2.name" value="alpha"></param> <param name="opensign.cookie.2.value" value="beta"></param> But it did not solve the problem. I added the parameters exactly as described. Is the number and values of importance? Regards Lasse Jørgensen. KMD A/S. -----Oprindelig meddelelse----- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Kim Rasmussen Sendt: 29. juni 2008 09:59 Til: Discussions about the development of openoces software Emne: Re: [Developer] Opensign Applet and Session State. 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 ____________________________________________________________________ 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
