Be careful while using navigateToURL,URLRequest in flex

Hi

There is a problem seen while using navigateToURL in flex. In some cases it causes the user session loss,

To solve this issue, You need to add the session to the URLRequest (in our case we added the jsessionid for TomCat):

var request:URLRequest = new URL Request(“http://www.URL.com” + “;jsessionid=” +sessionId);

And this is also observed that navigaeToURL works fine on some of the browsers like crome,safari etc.

Unfortunately, the information is not covered well by Flex documentation.

Hope this helps people out there facing such sort of issues.

Thanks
R Vashi

One thought on “Be careful while using navigateToURL,URLRequest in flex

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s