473,657 Members | 2,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript needed for storing password for entire session

1 New Member
hi all

i am making a web page which has a username to register but i dont want to put any password for completing registration.

the idea is when user makes any decision and select ok one dialog box should apper on the screen with two textbox for entering and reentering passwords.

the main thing is as soon user enters the password javascript should create one array to store this password for the entire session and should accept the selections with the same pssword.

but as soon as the user closes the window it should erase the memory and start from the begening that is from dialog box for making selection...


I tried a lot but i am not getting a clue to do this....

can anybody help me with this.
Oct 3 '07 #1
2 1458
acoder
16,027 Recognized Expert Moderator MVP
Welcome to TSDN!

Even though you could use cookies to store passwords, all login/password code should be on the server-side. How are you going to make the check for correc passwords? If you do this within the JavaScript, it will be easy for someone to view the source code and get the correct password.
Oct 3 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
Changed the thread title to better describe the problem.
Oct 3 '07 #3

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

Similar topics

6
3639
by: MattC | last post by:
I noticed when storing large amounts of information in the StateServer Service that this does not increase in size, the worker process itself seems to grow. I set up a test case to try and prove this, I placed a button on a web form that ran the foloowing code. string temp = "index"; for(int i = 0; i < 1000000; i++) {
12
4964
by: Alex D. | last post by:
is it possible? pros and cons?
1
1668
by: charales | last post by:
Hi everyone! I'm having this problems with javascript. If you go to: http://www.nikonistas.com/es_home/nikon2.html you'll find at the top-left corner the typical username-password form with the "send" button that actually does a javascript:envia(); (envia means send in spanish). The problem is that it does not work, no matter what I do it does not send the information. I have Java and Javascrips activated and up to date.
2
2001
by: Mythran | last post by:
We followed an example found on MSDN to create an encrypted FormsAuthenticationTicket and storing the ticket in a cookie. Is this the "correct" way to store the authentication ticket? We are attempting to create a web service from the web application and our goal is to have the user login to the web application and then, using the same credentials and/or authentication objects, access the web services to retrieve our data from other...
0
8421
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
8621
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
7354
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...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
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
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1734
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.