473,394 Members | 1,951 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,394 software developers and data experts.

Password

3
Well I have decided to post my question here, can't figure out how to do it on my own.

Problem:
I have a web page I need to be able to pass the users login and password to another page to do a serarch and then pass those results to a page to disply the user's data.

A regular login/password will get to the search page but I want to pass the login data to the search page then have the serarch page display the results.

Hummmmmmmmmmm.
Sep 20 '06 #1
2 1880
heiho
6
perhaps you need to write down all the scripts you have in mind in here first.

hei
Sep 20 '06 #2
russm
3
Here is the script I use to "pass" the pasword to the new page, the thing is that the password is appended to the name of the web page. This script calles a web page but does not pass the pasword to the calling web page:

<html>
<SCRIPT language="JavaScript"><!--
function check() {
// Prompt user for the credit card ...
pwd = prompt('Slde ID card or enter ID snd PIN...','');
pwd = pwd.replace(/[%]/, '');
pwd = pwd.replace(/[?]/, '');
pwd = pwd.replace(/[;]/, '');
pwd = pwd.replace(/[%]/, '');
pwd = pwd.replace(/[?]/, '');
pwd = pwd.replace(/[;]/, '');
// ... then set the browser location. (change the line below this one!)
location.href = 'Test_Search1' + escape(pwd) + '.asp';
}
// -->
</SCRIPT>
<head>
<meta name="GENERATOR" content="CodeCharge Studio 3.0.4.12">
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>Test_Page1</title>
</head>
<body>
<DIV align="center"><h1>Test</h1>
<DIV align="center">You must have a valid ID to enter this site!<P>
<FORM>
<INPUT type="Button" onClick="check()" value="Start Test Page">
</FORM>
</DIV>
</body>
</html>
Sep 21 '06 #3

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

Similar topics

11
by: John Victor | last post by:
In my mysql database, I've stored all the passwords using the PASSWORD() function. Now I'm running a test and need to compare the password in my php document to that saved in the database. I used...
3
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
6
by: Andre Ranieri | last post by:
I'm trying to create a login page for customers to log into our corporate website, our presidents naturally wants the user and password fields to populate from a cookie so the customer doesn't have...
5
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
26
by: David Garamond | last post by:
I read that the password hash in pg_shadow is salted with username. Is this still the case? If so, since probably 99% of all PostgreSQL has "postgres" as the superuser name, wouldn't it be better...
8
by: Katash | last post by:
Hello, I am new to PHP and am working on a login system for my site, currently supplied passwords are passed to MySQL and stored as md5 hashes, my question is :- seeing as md5 is 1 way only what...
3
by: julianmoors | last post by:
Hey, Currently I'm writing a VB.NET/1.1 app and I need to mask the input for the password field. Does anyone know how to do this in VB? I've seen a C# example, but wouldn't know how to convert...
2
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.