By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,477 Members | 1,612 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,477 IT Pros & Developers. It's quick & easy.

Gadget System.Gadget.Settings.write

P: 60
1) is System.Gadget.Settings.write secure? would it be save to store login password?

2) this is the code i wrote to store the settings, but the value fail to save. did i do something wrong or less?

Expand|Select|Wrap|Line Numbers
  1. //the javascript portion
  2. System.Gadget.Settings.write("username", user.value);
  3.  
  4. //the html portion
  5. <input name="user" type="text" id="user">
  6.  
May 11 '08 #1
Share this Question
Share on Google+
7 Replies


acoder
Expert Mod 15k+
P: 16,027
Have you checked the documentation?
May 12 '08 #2

P: 60
i solved part 2 of my post. thanks.

i cant find the part in documentation of how the value are saved, is it secure/encrypted?
May 13 '08 #3

acoder
Expert Mod 15k+
P: 16,027
i solved part 2 of my post. thanks.
Good. Can you post the working code for the benefit of others. Thanks.

i cant find the part in documentation of how the value are saved, is it secure/encrypted?
See if this article helps. The documentation on the security aspect is a little sparse.
May 14 '08 #4

P: 60
Good. Can you post the working code for the benefit of others. Thanks.
there is actually no error in the code, but with the poor documentation as usual from microsoft, i place the code on the wrong page. if anyone has prob with this issue, pls state there, i would be happy to email you the whole project.
May 20 '08 #5

acoder
Expert Mod 15k+
P: 16,027
there is actually no error in the code, but with the poor documentation as usual from microsoft, i place the code on the wrong page. if anyone has prob with this issue, pls state there, i would be happy to email you the whole project.
Thanks for the offer, or if it's not too much of a problem, just attach it to your post.
May 20 '08 #6

P: 60
sorry for the late reply.

this line:
System.Gadget.Settings.write("username", user.value);

should be written on the page that save the value and not the main page. a simple mistake made by a newbie like me.
Jun 25 '08 #7

acoder
Expert Mod 15k+
P: 16,027
Better late than never ;) Thanks for posting.
Jun 25 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.