I'm trying to create a WP8 application which authenticates against a portal and gets an authentication cookie.
I would like to be able to store this cookie in some "common storage" within the phone, so that other applications are able to access it as well. This way, once the application authenticates against the portal, other apps which need access to this cookie can simply go to the common storage and fetch it rather than the authentication application "passing" the cookie around.
In other words:
- Authentication app contacts UAG, gets a cookie, stores is in some common accessible location - lets say the file is C:\tmp\foo.txt (using a noddy filepath I know)
- When the user now launches some other app, the app first checks to see if the file C:\tmp\foo.txt exists, and if it does, it consumes it and carries forward
From what I have read, there is no easy way to do so. It seems there isn't a common storage area available for all apps. Is the above possible?
Thanks
PS: The place where photos are stored is accessible to other apps. Is that specific to that folder? IF so, can we put other content in it?