Friday, June 28, 2024
HomeiOS Developmentios - iPhone Cookie Authentication Challenge

ios – iPhone Cookie Authentication Challenge


I’ve a .NET MVC net app configured to make use of cookie authentication. The consumer is prompted to check in in the event that they have not authenticated. My authentication cookie has a 5 minute ExpirationTimeSpan and configured with SlidingExpiration. All the things works high quality once I’m utilizing a desktop browser. Cell browser is the place I am seeing bunch of various outcomes.

**On iPhone 14 with Safari because the default net browser. **

Utilizing the Yahoo e mail app:

  • I click on on hyperlink within the e mail.
  • It launches the in-app browser. I am prompted to authenticate so I check in.
  • I click on Achieved within the in-app browser and it returns me again to the e-mail.
  • I click on on the e-mail hyperlink once more. It launches the in-app browser.
  • I am not requested to check in once more. It is working because it ought to.
  • I click on Achieved within the in-app browser and it returns me again to the e-mail.
  • I click on on the e-mail hyperlink once more. It launches the in-app browser.
  • I am not requested to check in once more. It is working because it ought to.

Utilizing the Gmail app:

  • I click on on hyperlink within the e mail.
  • It asks me which browser to open with so I select Chrome.
  • It launches the Chrome browser and opens the hyperlink in a brand new tab.
  • I am prompted to authenticate so I check in. I depart the browser tab open and change again to the Gmail app.
  • I click on on the e-mail hyperlink once more.
  • It asks me which browser to open with so I select Chrome.
  • It switches to the Chrome browser and opens the hyperlink in a brand new tab. I am prompted to authenticate (however I do not).
  • I change again to the primary browser tab. Refreshed the web page and it reveals that I am nonetheless authenticated.
  • Why did not it keep in mind my session the second time I clicked on the e-mail hyperlink?
  • I change again to the e-mail. As an alternative of clicking the hyperlink, I lengthy press and duplicate the hyperlink.
  • Open a brand new tab and paste the hyperlink. The web page hundreds and reveals I am nonetheless authenticated.

Utilizing the Safari browser and viewing my Yahoo mail:

  • I click on on hyperlink within the e mail.
  • It opens the hyperlink in a brand new browser tab. I am prompted to authenticate so I check in.
  • I change again to the Yahoo mail tab.
  • I click on on hyperlink for the website within the e mail once more.
  • It opens the hyperlink in a brand new browser tab. I am prompted to authenticate (however I do not).
  • I change again to the primary browser tab the place I already authenticated. Refreshed the web page and it reveals that I am nonetheless authenticated.
  • Why did not it keep in mind my session the second time I clicked on the e-mail hyperlink?
  • I change again to the e-mail. As an alternative of clicking the hyperlink, I lengthy press and duplicate the hyperlink.
  • Open a brand new tab and paste the hyperlink. The web page hundreds and reveals I am nonetheless authenticated.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments