How to save and read user preferences?
This topic has been viewed 3953 times and has 4 replies
-
bluesky5566
- Posts: 7
- Joined: Wed Jul 28, 2010 6:28 am
How to save and read user preferences?
Hello,how to save and read user preferences in SweetHome3DApplet?
Re: How to save and read user preferences?
It's written in SweetHome3DApplet javadoc:
You must create two HTTP services able to write and read user preferences as a XML stream, and give their URL in writePreferencesURL and readPreferencesURL applet parameters. Use cookies to know the user who writes or reads the preferences.
You must create two HTTP services able to write and read user preferences as a XML stream, and give their URL in writePreferencesURL and readPreferencesURL applet parameters. Use cookies to know the user who writes or reads the preferences.
Emmanuel Puybaret, Sweet Home 3D creator
-
bluesky5566
- Posts: 7
- Joined: Wed Jul 28, 2010 6:28 am
Re: How to save and read user preferences?
OK,thanks,but I want to how to save the file to the user preferences and associate? how to get user cookies?
Re: How to save and read user preferences?
The management of user cookies depends on the technology you use on server side.
PHP or JSP sessions should help you to manage them.
PHP or JSP sessions should help you to manage them.
Emmanuel Puybaret, Sweet Home 3D creator
-
bluesky5566
- Posts: 7
- Joined: Wed Jul 28, 2010 6:28 am
Re: How to save and read user preferences?
well,thanks a lot
Who is online
Users browsing this forum: No registered users and 1 guest