This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:core:duplicate [02/04/2013 09:19] zuve |
en:sidebar:remoteapi:apiref:core:duplicate [02/04/2013 09:21] zuve |
||
---|---|---|---|
Line 8: | Line 8: | ||
"clientIp":<text>} | "clientIp":<text>} | ||
</code> | </code> | ||
- | It duplicates the active session. Both sessions should be initiated from the same IP. | + | It duplicates the active session. |
===== Parameters ===== | ===== Parameters ===== | ||
Line 14: | Line 14: | ||
| operateAs | name of a user you want to operate as (must be empty if you want to operate as the main user) | | | operateAs | name of a user you want to operate as (must be empty if you want to operate as the main user) | | ||
| continueCurrentSession | defines whether to continue the previous session (false by default, if true - both //sid//'s remain valid) | | | continueCurrentSession | defines whether to continue the previous session (false by default, if true - both //sid//'s remain valid) | | ||
+ | | clientIp | IP address for doubling session (optional parameter) | | ||
===== Response ===== | ===== Response ===== | ||
Response format is be the same as in the command [[login|login]]. | Response format is be the same as in the command [[login|login]]. |
|