cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

648
Views
2
Helpful
9
Replies
Highlighted
Beginner

How to use session ticket

Hi

I am trying to perform GetUser on an SSO website. I got a session ticket using the Authenticate function. I replaced the <webexID> and <password> tags with <sessionTicket> tag and sent the request. When I got the xml response back, it says FAILED and the reason provided was "not a valid session ticket". I also tried sending a request with only <sessionTicket> and <siteName> tags contained in the <securityContext > tag. It also returned FAILED and gave the same reason. Were my xml request formats incorrect or something else is the problem?

This is the first XML request that I sent.

<?xml version="1.0" encoding="UTF8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <sessionTicket>AAABVk44JPIAABUYA0gAKEgyU0sAAAACaaCI8StOkdoBKVlW69zBbv3PZVwSdo6BBhS NS jt/RBSAA8U0sAAAAC8X3FCTn0thaCXFdZxLHaAmyKIii6eaf94PEij4XoXZi OZZsLxWB2t3hyiyyx6pfrcCwCITU1vpitFnASFyLho3X6kHw6MBqhsucnO1sVXuPmQ6MWsOwwGf8xnQgFVIBZmmGJ5nSt vhU9sQgbrynu9 oE4Q0EtSpNwwrlOwu8G0pZeFGEsuLW66dI8r9llOLMyM29dhgq3TmdR4jWP5QOCJ4952hkasz2Hv/V 1wbpfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</sessionTicket>

  <siteID>xxxxxxx</siteID>

  <partnerID>xxxxxxxxxxxxxxxxxx</partnerID>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.user.GetUser">

  <webExId>rborgoni</webExId>

  </bodyContent>

  </body>

</serv:message>

This is the second XML request that I sent.

<?xml version="1.0" encoding="UTF8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <sessionTicket>AAABVk44JPIAABUYA0gAKEgyU0sAAAACaaCI8StOkdoBKVlW69zBbv3PZVwSdo6BBhS NS jt/RBSAA8U0sAAAAC8X3FCTn0thaCXFdZxLHaAmyKIii6eaf94PEij4XoXZi OZZsLxWB2t3hyiyyx6pfrcCwCITU1vpitFnASFyLho3X6kHw6MBqhsucnO1sVXuPmQ6MWsOwwGf8xnQgFVIBZmmGJ5nSt vhU9sQgbrynu9 oE4Q0EtSpNwwrlOwu8G0pZeFGEsuLW66dI8r9llOLMyM29dhgq3TmdR4jWP5QOCJ4952hkasz2Hv/V 1wbpfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</sessionTicket>

  <siteName>xxxxxxxxx</siteName>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.user.GetUser">

  <webExId>rborgoni</webExId>

  </bodyContent>

  </body>

</serv:message>

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: How to use session ticket

Rejean,

It appears that whatever is reading back your response is stripping the + characters from the sessionTicket and replacing them with space.. when I copy your response above and paste it into a single line I can locate several spaces in the sessionTicket, when I replace those spaces with a + (plus) character your sessionTicket is valid and works fine.

note the spaces and the wrapping:

AAABVnGLTEIAABUYA0gAKEgyU0sAAAACS7uiaX0xKqJ4k0VG3ZqlUAN8EEA/wmFmX931zP3BbmFBSAA8U0sAAAAC 2cvXmNdoWYxushSH1wr50Br6/UmFHthyIQ/l70QYsanZAmdTrGTXvRi8/OGKasg07x uJV8us/fdwCfbAK5X9feZF6YMcJxNQD86 6FFdaWEESs3fRaVloYYCgz4RGY4P9xxJw81uFMsraxzk1CC zMhG6Ofs115fi ISXlTk6eetoS6QgUZ7WqpCqW9mp1o 4rO2It9YsvI1HBBBCKkcxkiDYDxEzkqEVeT7KkbKdfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=

fixed session ticket:

AAABVnGLTEIAABUYA0gAKEgyU0sAAAACS7uiaX0xKqJ4k0VG3ZqlUAN8EEA/wmFmX931zP3BbmFBSAA8U0sAAAAC+2cvXmNdoWYxushSH1wr50Br6/UmFHthyIQ/l70QYsanZAmdTrGTXvRi8/OGKasg07x+uJV8us/fdwCfbAK5X9feZF6YMcJxNQD86+6FFdaWEESs3fRaVloYYCgz4RGY4P9xxJw81uFMsraxzk1CC+zMhG6Ofs115fi+ISXlTk6eetoS6QgUZ7WqpCqW9mp1o+4rO2It9YsvI1HBBBCKkcxkiDYDxEzkqEVeT7KkbKdfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=
9 REPLIES 9
Contributor

Re: How to use session ticket

The sessionTicket is a drop in replacement for password, it does not replace both the password and webexid elements.. you need to add: <webExID>username</webExID> to your securityContext.

-Ryan

Beginner

Re: How to use session ticket

Hi Ryan

I tried to send these two requests but got "Not a valid session ticket" for both of them.

<?xml version="1.0" encoding="UTF8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <webExID>rborgoni</webExID>

<sessionTicket>AAABVmgg7NYAABUYA0gAKEgyU0sAAAACiuMJ0mlJeK6VokjV3AatK8Jlorof5NOJJYod/wV4by1BSAA8U0sAAAACu6xY29jrUFCyVRYqhAECJXawKlkb3WsFrKQMkZp92ZHxt uEbYMeOwfxW7It toYg5gEo62eLztrtv8pzJ8twQHKWISY1MY4i/cEtLJXSHn9kR7YNle5FtMan8615OHoMp3RGF3NOOtBbR/yYWq9uFhyA0sAp0AjvFEaYVfdVvakrA0uJuX/AUCFq37Hd2h0NFFaDGAoR4BoxQSEQxkbbgJNFVKkKhd0vDtWaHHjDjtfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</sessionTicket>

  <siteID>988152</siteID>

  <partnerID>ZQLlsg2_eJVQD4dOzQLX2A</partnerID>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.user.GetUser">

  <webExId>rborgoni</webExId>

  </bodyContent>

  </body>

</serv:message>

<?xml version="1.0" encoding="UTF8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <webExID>rborgoni</webExID>

<sessionTicket>AAABVmgg7NYAABUYA0gAKEgyU0sAAAACiuMJ0mlJeK6VokjV3AatK8Jlorof5NOJJYod/wV4by1BSAA8U0sAAAACu6xY29jrUFCyVRYqhAECJXawKlkb3WsFrKQMkZp92ZHxt uEbYMeOwfxW7It toYg5gEo62eLztrtv8pzJ8twQHKWISY1MY4i/cEtLJXSHn9kR7YNle5FtMan8615OHoMp3RGF3NOOtBbR/yYWq9uFhyA0sAp0AjvFEaYVfdVvakrA0uJuX/AUCFq37Hd2h0NFFaDGAoR4BoxQSEQxkbbgJNFVKkKhd0vDtWaHHjDjtfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</sessionTicket>

  <siteName>xxxxxxxxxx</siteName>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.user.GetUser">

  <webExId>rborgoni</webExId>

  </bodyContent>

  </body>

</serv:message>

Contributor

Re: How to use session ticket

Are you sure thats a valid session ticket? Try requesting a fresh one or login manually and use the sessionTicket you find in your browser cookie: ticket

I used the following XML without issue:

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <siteName>XXXXXXX</siteName>

  <returnAdditionalInfo>TRUE</returnAdditionalInfo>

  <webExID>ryanhunt</webExID>

<sessionTicket>AXABVlulIGcAABUYA0gAKEgyU0sAAAACCdAhdrnPnImA/kBCC3flXyceUp21alnS+um2OwOoEBdBSAA8U0sAAAACr0ZIxuk9ieDiq+WjHhyAbmY9GxiJyxgx5kvIWAcNVIz/CPheLk0NuoomfoOrpja6Mo9awb4gAU85bhN9vdRofzj6ihhoDFyoA/v9Ud6wz/Io34nXwIk2AwuXoUeWosimOVaLrJhl+BTMpQdGIZiHgmvv8W8IcfomyCDWoHgkhDoOsF3NZvSEGaWEJfMBdI3dmjgXVd++LSbhZeZsDNblbOU7CkT7FB4RAo+AcdByNPJfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</sessionTicket>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.user.GetUser">

  <webExId>ryanhunt</webExId>

  </bodyContent>

  </body>

</serv:message>

Beginner

Re: How to use session ticket

When I used the ticket from my browser's logs, get user function worked fine. But when I used the ticket being returned by the authenticate function, it says "Not a valid session ticket". Also, I checked the logs on my browser's dev tools. The session ticket there (the one that worked) is different from the one being returned by the authenticate function.

Below is the response of authenticate function. I used the ticket here and I got "Not a valid session ticket".

<?xml version="1.0" encoding="UTF-8"?><serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user"><serv:header><serv:response><serv:result>SUCCESS</serv:result><serv:gsbStatus>PRIMARY</serv:gsbStatus></serv:response></serv:header><serv:body><serv:bodyContent xsi:type="use:authenticateUserResponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><use:sessionTicket>AAABVmyPJksAABUYA0gAKEgyU0sAAAACX5u/sgULN2neNnVBlFs2pSw2elrkly02X7ZvuQPpeX9BSAA8U0sAAAACj5TRgiVHNtJlj6Vfa72FGY0jf3v67ZaJhDb7BF GzIkOz580ttPY7YdCjzjQC8ETPkbQuyGCa4LOQeJZBE6rMQLfSIhsfje9yUL0Hk9LY7thZDCd WyuyIePF/fsEamUhypkQgDz4v /SUQQZ3yMLSKzG 3fftreKI9kHCY/7bCO95ypysuzG89iS8I3 191y5gfH2smjkFdLKx6CtuZTWnbeDUXeExxkbZX5XYwsSNfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</use:sessionTicket></serv:bodyContent></serv:body></serv:message>

Contributor

Re: How to use session ticket

The samlResponse element in your authenticateUser request, is the nameid matching the WebExId of the user your trying to authenticate as?

Beginner

Re: How to use session ticket

Yes I double checked it by decoding the samlResponse. Below is the decoded samlResponse. The nameid here is rborgoni which is my webexID.

<samlp:Response Version="2.0" ID="b1CVa42im_CSERDnH9bO8LijBkz" IssueInstant="2016-08-09T23:02:10.253Z" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:idp:lachlanstg</saml:Issuer><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/></samlp:Status><saml:Assertion ID="NuSjOl64uAp8cg_O49VJU-Hk__L" IssueInstant="2016-08-09T23:02:10.565Z" Version="2.0" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><saml:Issuer>urn:idp:lachlanstg</saml:Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">

<ds:SignedInfo>

<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>

<ds:Reference URI="#NuSjOl64uAp8cg_O49VJU-Hk__L">

<ds:Transforms>

<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>

<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

</ds:Transforms>

<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

<ds:DigestValue>gf/zAeigb/wc6WRC7olffmi3aEE=</ds:DigestValue>

</ds:Reference>

</ds:SignedInfo>

<ds:SignatureValue>

EFdQym6oUbI/dsugmXnpiQaCJLcSu++v4Q9fELO9GwXiNBK+cPd5DN9dYsF/zK6HDaJrpn32Pnoo

vnw9cqBv6pEUNLkuHSL7LXpvImwfQ0gONWCV9kkd/OXhLRW3LO9ZXvncRvwzJncKuqVFlpcSZ/20

MiqHzRstDHfnv7oR3e9ZKEZ53QIVuuEMA4Q/TjOaKhR+Fi/WoQ5VWjl3He1yKn8nViliMaw4fSE8

yfK4aJ2/JgEJU01XMUBxPqV5/LNEjYJbgv6P5NPii0qDv3bZ4pklnQqPxDwWy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ImS/cOiM9swo+1w5JgWOF9ef

y7JO40LA9E7lv64COUYjFhrn+HRZuKoblL19+Sj49FyXexAUS29UM9PfIdY6ar1FA8cxzPqW7EkX

Z0Mua3IzNnYcjMvUL9TJwoLAAz9S1Tv4Is5jupy9UXkuJ4r8Jx9DqI3Q3ur0VekYSd5tnTI4K+no

9ABCFVv7+6Q45Ec2eB0xMwlqI+phcGhGMVCX1Q==

</ds:Modulus>

<ds:Exponent>AQAB</ds:Exponent>

</ds:RSAKeyValue>

</ds:KeyValue>

</ds:KeyInfo>

</ds:Signature><saml:Subject><saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">rborgoni</saml:NameID><saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><saml:SubjectConfirmationData Recipient="https://siteName.webex.com/dispatcher/SAML2AuthService.do?siteurl=siteName" NotOnOrAfter="2016-08-09T23:07:10.565Z"/></saml:SubjectConfirmation></saml:Subject><saml:Conditions NotBefore="2016-08-09T22:57:10.565Z" NotOnOrAfter="2016-08-09T23:07:10.565Z"><saml:AudienceRestriction><saml:Audience>siteName.webex.com</saml:Audience></saml:AudienceRestriction></saml:Conditions><saml:AuthnStatement SessionIndex="NuSjOl64uAp8cg_O49VJU-Hk__L" AuthnInstant="2016-08-09T23:02:10.565Z"><saml:AuthnContext><saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef></saml:AuthnContext></saml:AuthnStatement><saml:AttributeStatement><saml:Attribute Name="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">rborgoni</saml:AttributeValue></saml:Attribute><saml:Attribute Name="firstname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">firstName</saml:AttributeValue></saml:Attribute><saml:Attribute Name="updateTimeStamp" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">20160807231026.0Z</saml:AttributeValue></saml:Attribute><saml:Attribute Name="email" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">firstNamelastName@testmail.com</saml:AttributeValue></saml:Attribute><saml:Attribute Name="lastname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:AttributeValue xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">lastName</saml:AttributeValue></saml:Attribute></saml:AttributeStatement></saml:Assertion></samlp:Response>

Below is the request I'm sending using authenticate function. The saml here is the one posted above.

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service">

<serv:header>

<serv:securityContext>

<com:webExID>rborgoni</com:webExID>

<com:siteName>siteName</com:siteName>

</serv:securityContext>

</serv:header>

<serv:body>

<serv:bodyContent xsi:type="java:com.webex.xmlapi.service.binding.user.AuthenticateUser">

<protocol>SAML2.0</protocol>

<use:samlResponse>

PHNhbWxwOlJlc3BvbnNlIFZlcnNpb249IjIuMCIgSUQ9ImIxQ1ZhNDJpbV9DU0VSRG5IOWJPOExpakJreiIgSXNzdWVJbnN0YW50PSIyMDE2LTA4LTA5VDIzOjAyOjEwLjI1M1oiIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wi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V0ZVZhbHVlIHhzaTp0eXBlPSJ4czpzdHJpbmciIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSI+Qm9yZ29uaWE8L3NhbWw6QXR0cmlidXRlVmFsdWU+PC9zYW1sOkF0dHJpYnV0ZT48L3NhbWw6QXR0cmlidXRlU3RhdGVtZW50Pjwvc2FtbDpBc3NlcnRpb24+PC9zYW1scDpSZXNwb25zZT4=</use:samlResponse>

</serv:bodyContent>

</serv:body>

</serv:message>

When I sent that using authenticate, I got this as response.

<?xml version="1.0" encoding="UTF-8"?><serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user"><serv:header><serv:response><serv:result>SUCCESS</serv:result><serv:gsbStatus>PRIMARY</serv:gsbStatus></serv:response></serv:header><serv:body><serv:bodyContent xsi:type="use:authenticateUserResponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><use:sessionTicket>AAABVnGLTEIAABUYA0gAKEgyU0sAAAACS7uiaX0xKqJ4k0VG3ZqlUAN8EEA/wmFmX931zP3BbmFBSAA8U0sAAAAC 2cvXmNdoWYxushSH1wr50Br6/UmFHthyIQ/l70QYsanZAmdTrGTXvRi8/OGKasg07x uJV8us/fdwCfbAK5X9feZF6YMcJxNQD86 6FFdaWEESs3fRaVloYYCgz4RGY4P9xxJw81uFMsraxzk1CC zMhG6Ofs115fi ISXlTk6eetoS6QgUZ7WqpCqW9mp1o 4rO2It9YsvI1HBBBCKkcxkiDYDxEzkqEVeT7KkbKdfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=</use:sessionTicket></serv:bodyContent></serv:body></serv:message>

The ticket in the response doesn't work. It gives me error of "Not a valid session ticket". When I checked my browser's logs, the ticket (which worked for my get user) is different from the one returned by authenticate. Below is the ticket from the browser.

AAABVnGKtloAABUYA0gAKEgyU0sAAAACR6c4B8lbY4Bg7H2Swk1zbHzh0KIAo3JB7dqAJIayuUdBSAA8U0sAAAACpYhEYK91TP+OloHcaK77IQsvHMK3pg9IBJL6QKgHgGOny9PqcLPIZEs9xD4HegXK0Ti5ofTfSHsYBAap5pzuuznMNw4mAhyQoNNlnc/Q6D0bfpQZPMbdetgg6eTU7lBHe6iFy6ouwJIk+5kMduJd76hWohrZu8iKE/uJXY771ZKl+A1stfhxn3E8S9JLeiDDCyy/7hGcDHlRQ/Wy5nyPAqd9VQVxBF084PuHLg3MWrJfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=
Contributor

Re: How to use session ticket

Rejean,

It appears that whatever is reading back your response is stripping the + characters from the sessionTicket and replacing them with space.. when I copy your response above and paste it into a single line I can locate several spaces in the sessionTicket, when I replace those spaces with a + (plus) character your sessionTicket is valid and works fine.

note the spaces and the wrapping:

AAABVnGLTEIAABUYA0gAKEgyU0sAAAACS7uiaX0xKqJ4k0VG3ZqlUAN8EEA/wmFmX931zP3BbmFBSAA8U0sAAAAC 2cvXmNdoWYxushSH1wr50Br6/UmFHthyIQ/l70QYsanZAmdTrGTXvRi8/OGKasg07x uJV8us/fdwCfbAK5X9feZF6YMcJxNQD86 6FFdaWEESs3fRaVloYYCgz4RGY4P9xxJw81uFMsraxzk1CC zMhG6Ofs115fi ISXlTk6eetoS6QgUZ7WqpCqW9mp1o 4rO2It9YsvI1HBBBCKkcxkiDYDxEzkqEVeT7KkbKdfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=

fixed session ticket:

AAABVnGLTEIAABUYA0gAKEgyU0sAAAACS7uiaX0xKqJ4k0VG3ZqlUAN8EEA/wmFmX931zP3BbmFBSAA8U0sAAAAC+2cvXmNdoWYxushSH1wr50Br6/UmFHthyIQ/l70QYsanZAmdTrGTXvRi8/OGKasg07x+uJV8us/fdwCfbAK5X9feZF6YMcJxNQD86+6FFdaWEESs3fRaVloYYCgz4RGY4P9xxJw81uFMsraxzk1CC+zMhG6Ofs115fi+ISXlTk6eetoS6QgUZ7WqpCqW9mp1o+4rO2It9YsvI1HBBBCKkcxkiDYDxEzkqEVeT7KkbKdfRkxBR19BRERJTkdfU0hBMjU2X0FMR09SSVRITV8=
Beginner

Re: How to use session ticket

I replaced the spaces with + and it worked. Thanks so much!!

Would you know the possible causes why the + is being skipped?

Contributor

Re: How to use session ticket

The program your using to read the response thinks the plus sign is an encoded space, many times a space in a URL is encoded as a plus sign.

Percent-encoding - Wikipedia, the free encyclopedia

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.