Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:core:duplicate [13/02/2013 06:30]
alek
en:sidebar:remoteapi:apiref:core:duplicate [02/04/2013 09:21]
zuve
Line 5: Line 5:
 <code javascript>​ <code javascript>​
 svc=core/​duplicate&​params={"​operateAs":<​text>,​ svc=core/​duplicate&​params={"​operateAs":<​text>,​
-    "​continueCurrentSession":<​bool>​}+    "​continueCurrentSession":<​bool>, 
 +    "​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 13: 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]].
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam