469,646 Members | 1,624 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

Gadget System.Gadget.Settings.write

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
7 2372
acoder
16,027 Expert Mod 8TB
Have you checked the documentation?
May 12 '08 #2
alan75
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
16,027 Expert Mod 8TB
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
alan75
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
16,027 Expert Mod 8TB
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
alan75
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
16,027 Expert Mod 8TB
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.

Similar topics

2 posts views Thread by Mizrandir | last post: by
reply views Thread by ericx | last post: by
4 posts views Thread by Penn | last post: by
2 posts views Thread by Steven Tang | last post: by
reply views Thread by | last post: by
4 posts views Thread by =?Utf-8?B?U3RldmVuIFRhbmc=?= | last post: by
reply views Thread by Jeff | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.