Thanks for the reply, but I am planning on doing some string parsing, and was wondering if it contains certain characters that I use as a delimiter (eg. ", ', ... etc). Also I am wondering what the ids for contacts, opportunities, etc are made up of?
The session id is a unique string of alphanumerics and is not "made up of" anything. There is nothing to parse out of that id. It is akin to a guid, but does not contain the "structure" xxxx-xxx-xxxxx or what ever. The structure of a session id is a long string that can contain any character in any position.
The ids have a logic to them. The only part that you would be concerned with is the leftmost 3 characters. These indicate the type of object the id is assigned to.
Basically what I am planning to doing is to create a CSV (comma delimited) kinda-of thing connecting about 5 IDs into one string so it can easily be stored, and can easily be parsed. My main concern is that the IDs can be-made-up-of the _"_ character? If it can be, is there a character which is not included in it?
Hi tym,
The session id should be handled as a string.
Thanks for the reply, but I am planning on doing some string parsing, and was wondering if it contains certain characters that I use as a delimiter (eg. ", ', ... etc). Also I am wondering what the ids for contacts, opportunities, etc are made up of?
Thanks again in advance,
Tym.
Hi tym,
The session id is a unique string of alphanumerics and is not "made up of" anything. There is nothing to parse out of that id. It is akin to a guid, but does not contain the "structure" xxxx-xxx-xxxxx or what ever. The structure of a session id is a long string that can contain any character in any position.
The ids have a logic to them. The only part that you would be concerned with is the leftmost 3 characters. These indicate the type of object the id is assigned to.
Thanks again Dave.
Basically what I am planning to doing is to create a CSV (comma delimited) kinda-of thing connecting about 5 IDs into one string so it can easily be stored, and can easily be parsed. My main concern is that the IDs can be-made-up-of the _"_ character? If it can be, is there a character which is not included in it?
Thanks again,
Tym.
Hi tym,
The object ids are letters and numbers only.
We would like to store in a cookie the sessionID, the server and the userID. We have to choose a separator for those fields.
Is there a character that will never be in a sessionId ?
I was thinking of a '~' since I notice we can have '.' and '_'