Author:Jens Bruntt
Email:jbr at convergens.dk
Subject:Puakma ESSO and cookies
Category:Web Booster
Message:

We have an application on WebSphere Portal.

The browser user (MS IE) accesses the portal through Puakma ESSO.

In the application we hava a javascript that writes a cookie.

Inside a Windows application (Lotus Notes) we now read the cookie using the InternetGetCookie function supplied by wininet.dll (http://msdn2.microsoft.com/en-us/library/aa384710.aspx and http://msdn2.microsoft.com/en-us/library/aa385326.aspx).

 

The problem is that the InternetGetCookie function does not return the cookie.

If we don't access the Portal application through ESSO, we are able to access the cookie using the InternetGetCookie function.

So somehow it looks like ESSO does something to the cookie that makes InternetGetCookie unable to return it.

We have looked at what kinds of debug information is supplied for InternetGetCookie. It is extremely limited.

 

Any suggestions on how to fix this? 

 

 


This is what the cookie contains when it is ceated without us accessing the Portal through ESSO. It is readable using InternetGetCookie. Accessed with this URL: http://portaltest:10038/wps/myportal:

 

Cookie content:
db
C12571390048947B
portaltest/
1088
3191320448
29882012
1551208816
29882004
*
view
0.Mapper%5CPr%20Nr
portaltest/
1088
3191320448
29882012
1551368816
29882004
*
unid
86C94C8E7D63D0B3C125714C0035FD30
portaltest/
1088
3191320448
29882012
1551368816
29882004
*

 

 


And here we have the cookie contents when it has been written with us accessing the Portal through ESSO. Accessed with this URL: http://portal-sso:10038/wps/myportal:

 

 Cookie content:
LtpaToken
2s4SA0l/Cn13mQkLE583Y30qxMcdFBCktowzY/oszDty3dXiBj+aQpjKkVfwARYumWBveg16x1kjoxElZ6RcyF27BFbchxgCct3V4gY/mkLjI2z27ygOBPbzRMtpjn0XFv1hk98OxsMsLweQu27x+4+2UPHReGHqgr1uHCKjuqGScKACMtS9ME1+vdheyjmeqhSYcUi7Xj5na3FY7VFi05UpPNvT2gCspSruYlfTpZlkbJ4IQqbncWEspXxMdplz5be4EYap3Yff/dHjKiW/FD4z/ZJC5o5Lf83oRmQMYSPDhBEYwC2O7EhHzCPh1kxZXrW02oFk+49vPLFkXISlCoTKtmrD4iLXGOqF69eEFe0=
portal-sso/
1024
3433217280
29882070
3480086112
29882003
*
db
C12571390048947B
portal-sso/
1088
2021320448
29882012
387458816
29882004
*
view
0.Mapper%5CPr%20Nr
portal-sso/
1088
2021320448
29882012
387458816
29882004
*
unid
86C94C8E7D63D0B3C125714C0035FD30
portal-sso/
1088
2021320448
29882012
387618816
29882004
*

 

 

 


Threads:
Puakma ESSO and cookies   Jens Bruntt 20.Sep.07
    RE: Puakma ESSO and cookies   Brendon Upson 20.Sep.07
    RE: Puakma ESSO and cookies   Brendon Upson 20.Sep.07
        No luck   Jens Bruntt 21.Sep.07
            RE: No luck   Brendon Upson 21.Sep.07
                I found a solution   Michael Nielsen 26.Sep.07