originally posted in:BungieNetPlatform
Hey, guys, I only have a few things I could use a pointer on.
1. What is the more straightforward way of getting the Account Id?
2. What error code should I expect when the cookies expire, or any way of knowing the date before hand?
3. The url to sign out would be "https://www.bungie.net/en/User/SignOut", or do I need to add something else?
Thank you!
English
-
[quote]1. What is the more straightforward way of getting the Account Id?[/quote]If you've signed in an account, it's in the bungleme cookie. [quote]2. What error code should I expect when the cookies expire, or any way of knowing the date before hand?[/quote]Expiration dates are stored along with the cookies when they're set. If there is no expiration, it's considered a session cookie and will expire when the session ends. [quote]3. The url to sign out would be "https://www.bungie.net/en/User/SignOut", or do I need to add something else?[/quote]I'd probably just make sure you're allowing that request to follow any redirects it encounters and maybe delete the cookies in your client code (depending on how you're wanting it to work).