I am trying to write a module in python that interfaces to a remote (secure) website.
I need to store some session information, and I don't think that it's correct to attach the data to any particular mesh object, nor the scene, nor the .blend file itself.
I need for this data to be in a place I can retrieve it as long as Blender is running.. it's the session identifier. I would expect the user to have to re-authenticate each time Blender is started. (don't want to store passwords, etc)
As I see it, there are two options:
1) write the data into some filesystem file
2) attach the data to some global Blender memory object that is "above" the currently opened .blend file.
so, questions:
1) If a filesystem file is used, is there a recommended place for user-temporary files? is there a property somewhere that points to a folder where I can write a temporary file?
2) Is there such a global object such that my session information can be retained as long as Blender is open?
BartV assured me that you friendly folks would have an answer
