I have angular2 app that is called from webseal server. I'm getting the junction name value from the cookie: "IV_JCT" The problem is that the junction name value is changed after some seconds from: "%2Fempsvcs" to the "real" junction name. To solve this issue I added sleep for 5 seconds before getting the junction name. Any ideas why it is working like this?
Thanks in advance