Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49256

httpClient requests with withCredentials don't persist PHP sessions

$
0
0

@chandlerkelley wrote:

I log a user in with this:

this.http.post(this.endpointProvider.apiEndpoint + ‘/login’, this.credentials, { withCredentials: true })

and then I send a request like this:

this.http.get(this.endpointProvider.apiEndpoint + ‘/check-session’, { withCredentials: true })

and there is no PHP session, but only when I deploy it via xcode to my device.

I’m using version 3.9.9 of the framework and xCode 11.3

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>