<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Token Issue in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715793#M21628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not the host of the server, but I believe that it's 9.3 since I have to use the uniquevaluerenderer to differentiate between&amp;nbsp; symbology.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already spoken to the host of the server and the settings have been changed for long lived tokens.&amp;nbsp; And the duration of the tokens is NOT consistant.&amp;nbsp; Sometimes they last a few hours, other times a few min, and still other times they do not work at all.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm really not sure what else to try to correct this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 12:29:03 GMT</pubDate>
    <dc:creator>KennethLyons</dc:creator>
    <dc:date>2013-06-18T12:29:03Z</dc:date>
    <item>
      <title>Token Issue</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715791#M21626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm currently attempting to access a secured REST service using Flex 2.5.&amp;nbsp; I've generated several tokens and initially they seem to work just fine.&amp;nbsp; Then at some point they appear to not be valid any longer.&amp;nbsp; I've set the expiration to 365 Days also tried 525600 Min (which is the equivilent of 365 days).&amp;nbsp; As there doesn't appear to be any set pattern as to when the token expires, I've been trying many different possible solutions, all of which have been unsuccessful.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had the Host of the server check thier options for long term tokens and it's set correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried using different combinations of times that are equivelant to 365 days (thus the 525600 minutes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looked into the crossdomain.xml, but if I'm understanding correctly that would be on the server end and not the user.&amp;nbsp; And since I'm told other people are able to use this service without issue, I doubt its the crossdomain.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm attached a copy of the error that I'm recieving.&amp;nbsp; If anyone can think of any other possible solutions, I would much appreciate the assistance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 18:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715791#M21626</guid>
      <dc:creator>KennethLyons</dc:creator>
      <dc:date>2013-06-17T18:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Token Issue</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715792#M21627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kenneth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What version of ArcGIS Server are you using? In ArcGIS Server 10.1 when you choose the security tab you might see something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lifespan of Long-lived Tokens:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 day&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which means no matter how long you request the token for it will expire in one day, until you change this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 18:49:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715792#M21627</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-06-17T18:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Token Issue</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715793#M21628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not the host of the server, but I believe that it's 9.3 since I have to use the uniquevaluerenderer to differentiate between&amp;nbsp; symbology.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already spoken to the host of the server and the settings have been changed for long lived tokens.&amp;nbsp; And the duration of the tokens is NOT consistant.&amp;nbsp; Sometimes they last a few hours, other times a few min, and still other times they do not work at all.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm really not sure what else to try to correct this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 12:29:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715793#M21628</guid>
      <dc:creator>KennethLyons</dc:creator>
      <dc:date>2013-06-18T12:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Token Issue</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715794#M21629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kenneth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I don't have any suggestions... I would call tech support or have the server owner.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 12:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715794#M21629</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-06-18T12:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Token Issue</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715795#M21630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been working with the server host and we believe that the issue has to do with the certificates not matching up.&amp;nbsp; They are looking for ways to get a copy of the certificate to me to install on my server, but are unsure if that's possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime, is there anyway to account for certificate errors in the source code similarly to the way tokens are used for username and passwords?&amp;nbsp; This may eliminate similar issues in the future as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 16:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715795#M21630</guid>
      <dc:creator>KennethLyons</dc:creator>
      <dc:date>2013-06-18T16:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Token Issue</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715796#M21631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kenneth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I do not work with https so you are beyond me realm of expertise.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 16:52:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/token-issue/m-p/715796#M21631</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-06-18T16:52:43Z</dc:date>
    </item>
  </channel>
</rss>

