Skip to main content
Participant
June 24, 2011
Question

StageWebView and https...

  • June 24, 2011
  • 1 reply
  • 901 views

StageWebView is being used  to load a generic HTML page from within a simple view.  In another view,  a user has been authenticated via https but when trying to retrieve the html page  with StageWebView, the site is displaying the login screen rather than the content requested in the URL.  The site doesn't know anything about an existing session.

This occurs only on Android/EVO.  The iOS version/emulator displays the requested  HTML page as expected.

The <uses-permission  android:name="android.permission.INTERNET"/> permission is set for  Android per the StageWebView docs.

Tidbits...

There is only one instance of StageWebView in the application.

A  user previously logs in with a simple HttpService call via jsp api in  another view.

The httpService variable used for the login is kept in  global space so it isn’t garbage collected keeping the sessionid alive.

How does one make a StageWebView call to a https site without having to login manually since the framework won't popup a login dialog of any kind (per the docs)?

Thanks in advance!

james

This topic has been closed for replies.

1 reply

finniflexAuthor
Participant
June 24, 2011

Some more information has surfaced...

http://kb2.adobe.com/cps/895/cpsid_89526.html#main_Cookies_are_handled_differently_across_mobile_and_desktop_platforms


Based upon this new information, it would appear as if StageWebView on Android can NEVER piggyback on an existing session thus requiring a user to login manually first for https sites.

Perhaps somebody can explain why this is the case for Android and not iOS?  Inquiring minds want to know.

I'll file a bug to make me feel better.

Participant
January 29, 2012

James, I am having the same problem. Did you ever find a solution. Thanks