| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

persist

Page history last edited by PBworks 17 years, 6 months ago

persist

This is the most useful command.  It allows you to get various information from the server.

persist 1
sesskey sessionkey
cmd 1 or 2 (cmd & dsn & lid define type of persist command)
dsn (cmd & dsn & lid define type of persist command)
uid userid of client
lid (cmd & dsn & lid define type of persist command)
rid Counter used to uniquely identify commands.  It is incremented everytime so that it is always unique.
body sometimes has "UserID=<some userid>" depending on the command.

 

dsn:0 lid:1

List all Contacts.

 

dsn:1 lid:4

Get information about a specific UserID

 

dsn:2 lid:6

List all Groups.

 

dsn:4 lid:5

Get further information about your own UserID. (requires UserID=<your userid>)

 

dsn:4 lid:3

Further information about someone else's UserID. (requires UserID=<some userid>)

 

dsn:7 lid:18

Get mail status.  This is also used as a keepalive.

 

examples

\persist\1\sesskey\480534511\cmd\1\dsn\0\uid\166189759\lid\1\rid\2\body\\final\

\persist\1\sesskey\480534511\cmd\1\dsn\4\uid\166189759\lid\3\rid\10\body\UserID=6221\final\

\persist\1\sesskey\480534511\cmd\1\dsn\4\uid\166189759\lid\5\rid\5\body\UserID=166189759\final\

\persist\1\sesskey\480534511\cmd\1\dsn\1\uid\166189759\lid\4\rid\6\body\\final\

\persist\1\sesskey\480534511\cmd\1\dsn\2\uid\166189759\lid\6\rid\7\body\\final\

\persist\1\sesskey\480534511\cmd\1\dsn\7\uid\166189759\lid\18\rid\8\body\\final\

\persist\1\sesskey\480534511\cmd\1\dsn\4\uid\166189759\lid\3\rid\11\body\UserID=118072896\final\

\persist\1\sesskey\480534511\cmd\1\dsn\4\uid\166189759\lid\3\rid\12\body\UserID=166190943\final\

\persist\1\sesskey\480534511\cmd\1\dsn\4\uid\166189759\lid\3\rid\13\body\UserID=166191715\final\

 

Comments (0)

You don't have permission to comment on this page.