473,847 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Gadget System.Gadget.S ettings.write

60 New Member
1) is System.Gadget.S ettings.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 2624
acoder
16,027 Recognized Expert Moderator MVP
Have you checked the documentation?
May 12 '08 #2
alan75
60 New Member
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 Recognized Expert Moderator MVP
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 New Member
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 Recognized Expert Moderator MVP
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 New Member
sorry for the late reply.

this line:
System.Gadget.S ettings.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 Recognized Expert Moderator MVP
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
1285
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 os.system('C:\\texmf\\miktex\\bin\\latex.exe "C:\Documents and Settings\User\Escritorio\sample2e.tex" -output-directory "C:\Documents and Settings\User\Escritorio"')
4
2422
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 the screen it enlarged as expected but when I tried to play the keyboard I began getting Run Time Errors and it didn't work at all. In frustration I simply deleted the Gadget. Since then, I have been getting Run Time Errors at random times, usually...
0
1032
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 simple page with the script tag and a button that forces a postback without any code behind. <html> <head runat="server"> <script src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/...
4
1485
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
3161
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 will not be able to dock into the sidebar when move the "Hello gadget" closing to the sidebar, I don't know if it is still a sidebar gadget if it could not dock into the sidebar). The problem I met in XBAP gadget is that it is difficult to set...
0
1471
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 will not be able to dock into the sidebar when move the "Hello gadget" closing to the sidebar, I don't know if it is still a sidebar gadget if it could not dock into the sidebar). The problem I met in XBAP gadget is that it is difficult to set...
4
2952
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 current approach is using XBAP inside the iFram, The problem I met in XBAP gadget is that it is difficult to set padding so that the gadget could be drag out of the sidebar. I.E., the size of my XBAP is 190X145, my html launcher is <html>
0
1077
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 of the Hello gadget in that sample.zip file and changed the namespace and file reference as the tutorial says
0
9881
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9727
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10981
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10331
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9480
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7052
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5718
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4115
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3160
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.