<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.i2rest.com/index.php?action=history&amp;feed=atom&amp;title=I2Rest_anonymous_sessions</id>
	<title>I2Rest anonymous sessions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.i2rest.com/index.php?action=history&amp;feed=atom&amp;title=I2Rest_anonymous_sessions"/>
	<link rel="alternate" type="text/html" href="https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;action=history"/>
	<updated>2026-05-05T10:41:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;diff=103&amp;oldid=prev</id>
		<title>Alexei.baranov at 13:57, 3 April 2020</title>
		<link rel="alternate" type="text/html" href="https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;diff=103&amp;oldid=prev"/>
		<updated>2020-04-03T13:57:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:57, 3 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{DISPLAYTITLE:i2Rest Anonymous Sessions}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Anonymous Sessions =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Anonymous Sessions =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Anonymous sessions are sessions that start according to the settings of &amp;lt;tt&amp;gt;*ANONYMOUS&amp;lt;/tt&amp;gt; [[i2Rest Gates#session_system|Session System]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Anonymous sessions are sessions that start according to the settings of &amp;lt;tt&amp;gt;*ANONYMOUS&amp;lt;/tt&amp;gt; [[i2Rest Gates#session_system|Session System]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-72:rev-103 --&gt;
&lt;/table&gt;</summary>
		<author><name>Alexei.baranov</name></author>
		
	</entry>
	<entry>
		<id>https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;diff=72&amp;oldid=prev</id>
		<title>Alexei.baranov at 15:20, 2 April 2020</title>
		<link rel="alternate" type="text/html" href="https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;diff=72&amp;oldid=prev"/>
		<updated>2020-04-02T15:20:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:20, 2 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;i2Rest Server automatically starts [[i2Rest Config#anonymous_min|anonymous_min]] anonymous sessions on startup. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;i2Rest Server automatically starts [[i2Rest Config#anonymous_min|anonymous_min]] anonymous sessions on startup. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All anonymous sessions start with name and authority of [[i2Rest Config#anonymous_user|anonymous_user]] - it will be substituted instead of&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{{ &lt;/del&gt;${user} &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}}}&lt;/del&gt;value in [[session_system object#submit_string|submit command]]. Value of &amp;lt;tt&amp;gt;${uid}&amp;lt;/tt&amp;gt; will be generated automatically as a random uuid string.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All anonymous sessions start with name and authority of [[i2Rest Config#anonymous_user|anonymous_user]] - it will be substituted instead of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;tt&amp;gt;&lt;/ins&gt;${user}&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/tt&amp;gt; &lt;/ins&gt;value in [[session_system object#submit_string|submit command]]. Value of &amp;lt;tt&amp;gt;${uid}&amp;lt;/tt&amp;gt; will be generated automatically as a random uuid string.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Upon receive anonymous request, i2Rest Server will route it to first available anonymous session. If all anonymous sessions are busy, i2Rest will start new anonymous session, but not more than [[i2Rest Config#anonymous_max|anonymous_max]] sessions. In case of anonymous_max sessions submitted, and no one is available, i2Rest will respond to the client with error message 400 Server is busy.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Upon receive anonymous request, i2Rest Server will route it to first available anonymous session. If all anonymous sessions are busy, i2Rest will start new anonymous session, but not more than [[i2Rest Config#anonymous_max|anonymous_max]] sessions. In case of anonymous_max sessions submitted, and no one is available, i2Rest will respond to the client with error message 400 Server is busy.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-71:rev-72 --&gt;
&lt;/table&gt;</summary>
		<author><name>Alexei.baranov</name></author>
		
	</entry>
	<entry>
		<id>https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;diff=71&amp;oldid=prev</id>
		<title>Alexei.baranov: Created page with &quot;= Anonymous Sessions = Anonymous sessions are sessions that start according to the settings of &lt;tt&gt;*ANONYMOUS&lt;/tt&gt; Session System.  These sessi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.i2rest.com/index.php?title=I2Rest_anonymous_sessions&amp;diff=71&amp;oldid=prev"/>
		<updated>2020-04-02T15:19:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Anonymous Sessions = Anonymous sessions are sessions that start according to the settings of &amp;lt;tt&amp;gt;*ANONYMOUS&amp;lt;/tt&amp;gt; &lt;a href=&quot;/index.php/I2Rest_Gates#session_system&quot; title=&quot;I2Rest Gates&quot;&gt;Session System&lt;/a&gt;.  These sessi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Anonymous Sessions =&lt;br /&gt;
Anonymous sessions are sessions that start according to the settings of &amp;lt;tt&amp;gt;*ANONYMOUS&amp;lt;/tt&amp;gt; [[i2Rest Gates#session_system|Session System]].&lt;br /&gt;
&lt;br /&gt;
These sessions are used to serve '''''anonymous requests''''' - requests to [[i2Rest API#run_program|run_program APIs]] that [[pcml object#valid_in_anonymous|does not have to be authenticated]] and when the client is trying to call these APIs without OAuth2 authentication token.&lt;br /&gt;
&lt;br /&gt;
i2Rest Server automatically starts [[i2Rest Config#anonymous_min|anonymous_min]] anonymous sessions on startup. &lt;br /&gt;
&lt;br /&gt;
All anonymous sessions start with name and authority of [[i2Rest Config#anonymous_user|anonymous_user]] - it will be substituted instead of{{{ ${user} }}}value in [[session_system object#submit_string|submit command]]. Value of &amp;lt;tt&amp;gt;${uid}&amp;lt;/tt&amp;gt; will be generated automatically as a random uuid string.&lt;br /&gt;
&lt;br /&gt;
Upon receive anonymous request, i2Rest Server will route it to first available anonymous session. If all anonymous sessions are busy, i2Rest will start new anonymous session, but not more than [[i2Rest Config#anonymous_max|anonymous_max]] sessions. In case of anonymous_max sessions submitted, and no one is available, i2Rest will respond to the client with error message 400 Server is busy.&lt;br /&gt;
&lt;br /&gt;
i2Rest Server uses prestarting mechanism, i.e. it will submit new anonymous session in advance, when it found that some API call will occupy last non-busy anonymous session.&lt;br /&gt;
&lt;br /&gt;
Submitted anonymous session will end automatically after period of inactivity greater than [[gate object#client_timeout|client_timeout]] parameter of Sessions gate. The restriction on the minimum number of anonymous sessions is taken to account. i2Rest Server will keep as minimum as [[i2Rest Config#anonymous_min|anonymous_min]] anonymous sessions alive.&lt;/div&gt;</summary>
		<author><name>Alexei.baranov</name></author>
		
	</entry>
</feed>