Search Unity

How can i get the Cookie in the webResponse?

Discussion in 'Windows' started by pnzpb, Jul 3, 2019.

  1. pnzpb

    pnzpb

    Joined:
    Apr 11, 2018
    Posts:
    3
    I use a same unityWebRequest function. And I run in 2018.3.10f1 and 2017.4.25f1.But i can't see the JSESSIONID in 2018.3.10f1.How can i get the JSESSIONID in 2018.3?
     

    Attached Files:

    • 1.png
      1.png
      File size:
      62.6 KB
      Views:
      62
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    2,221
    Are you checking the response headers?
    We've added builtin support for cookies in the same session, so you would only get the Set-Cookie header in the very first response, after that all upcoming request will send this cookie automatically, so it's not present in response headers.
     
  3. linng

    linng

    Joined:
    Aug 3, 2015
    Posts:
    1
    How can get cookies in the same session?