Hi Falsam, thanks for your help. Set a own Cookie works as expected, but reading the cookie, that comes from the server seems not readable.
But thats not the main problem.
I‘ll use an api. The first http request is the login. It works. The server sends success. In the response header I can see a ...
Search found 313 matches
- Wed Oct 25, 2017 6:45 pm
- Forum: Coding Questions
- Topic: Cookies and SessionIds
- Replies: 11
- Views: 12749
- Wed Oct 25, 2017 11:20 am
- Forum: Coding Questions
- Topic: Cookies and SessionIds
- Replies: 11
- Views: 12749
Re: Cookies and SessionIds
Found some Cookie stuff in the german forum
http://www.purebasic.fr/german/viewtopic.php?f=33&t=30172&p=340763&hilit=Cookie#p340763
and tried this:
Procedure.s getCookie(cname.s)
! var name = v_cname + "=";
! var ca = document.cookie.split(';');
! for(var i = 0; i < ca.length; i++) {
! var c ...
http://www.purebasic.fr/german/viewtopic.php?f=33&t=30172&p=340763&hilit=Cookie#p340763
and tried this:
Procedure.s getCookie(cname.s)
! var name = v_cname + "=";
! var ca = document.cookie.split(';');
! for(var i = 0; i < ca.length; i++) {
! var c ...
- Wed Oct 25, 2017 10:36 am
- Forum: Coding Questions
- Topic: Cookies and SessionIds
- Replies: 11
- Views: 12749
Cookies and SessionIds
Hello everyone,
I need help with handling cookies and session IDs.
After a successful login httpRequest, I see in the header that a session ID is sent as a cookie from the server.
Cookie PHPSESSID=0781d6ea840acd7c52186fd916a76705
How can I use this SesssionID for the next httpRequest?
Kind ...
I need help with handling cookies and session IDs.
After a successful login httpRequest, I see in the header that a session ID is sent as a cookie from the server.
Cookie PHPSESSID=0781d6ea840acd7c52186fd916a76705
How can I use this SesssionID for the next httpRequest?
Kind ...