473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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 2603
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

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

Similar topics

2
by: Mizrandir | last post by:
Hello, I'm a newbie with Python and there are some things I don't understand of os.system. I've managed to write a script that works in order to test some things: import os...
4
by: daivdh | last post by:
I recently tried to download and install a Gadget called "Piano" which would put a piano keyboard on the screen. It downloaded and installed okay. When I dragged the keyboard from the sidebar onto...
0
by: ericx | last post by:
I am trying to get a google gadget setup on my website, but they keep disappearing on me. When the page first loads or refreshes it is fine, but if a postback occurs, it goes away. I just have a...
4
by: Penn | last post by:
On my mac, I am running Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) Gecko/ 20070914 Firefox/2.0.0.7 and Safari Version 3.0.3 (522.12.1) My gadget:
2
by: Steven Tang | last post by:
It seems that we can only embed XBAP Iframe to create a WPF gadget, the WPF application will not work at this time (I tried Stanimir's demo, it is not different to a standalone WPF application, it...
0
by: | last post by:
It seems that we can only create a WPF gadget by embed XBAP Iframe, the WPF application will not work at this time (I tried Stanimir's demo, it is not different to a standalone WPF application, it...
4
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= | last post by:
I'm creating WPF gadget by embed XBAP Iframe: 1. Is it possible that create Pure WPF (non-XBAP) which could auto dock into the Vista sidebar when dragging the WPF application near Sidebar? 2. My...
0
by: Jeff | last post by:
Hi I'm following this tutorial: http://dev.live.com/gadgets/sdk/docs/default.htm And downloaded that sample file. Now I've created a simple web gadget project on my own:. I just made a copy...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.