IOS emulator in Webview (iframe) losing asp.net session

0

I have a problem with my project in Ionic, below follow the versions.

  

Ionic: 4.1.2
  ASP.NET: 2.1.502

A little bit about my project ...

It has a route in the application where it generates a Webview (iframe) where in that webview it has a module where it is possible to register and log in.

let iframe = document.createElement('iframe');
iframe.src = src;

$('page-reservations ion-content .scroll-content').html(iframe.outerHTML) 

Code Image
Result Image

It works in the browser ( run broswer ), in the device ( android and ios ), but in specific in the IOS emulator (Apple) the login part is not working .

The problem of not being able to log was found, is that in the IOS emulator is not keeping the Session Id generated in ASP.NET is changing every request, causing the user to not be able to access your account, remembering that this problem is only occurring in the IOS emulator (Apple), the actual device works normally.

It works on the iPhone, it works on the Android Emulator, it works on the Browser, and the app works on Android as well.

I would like more information and see if anyone has ever encountered this situation.

  
  • Is there any justification for this occurring only in the   IOS?
  •   
  • Is there any way out to fix this?
  •   
        
    asked by anonymous 17.12.2018 / 20:26

    0 answers