Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating accounts for users......

Status
Not open for further replies.

afterdigital

Programmer
Jun 22, 2002
9
US
Hi everyone,

I would like to create accounts for clients to place, edit and delete their orders.

2 questions.

1.How can i have each user see their own account and orders?
2.How can i pass their username and password without it showing up in the url?

thanks in advance,

Javier
 
I assume this is an ecomm application. Just create a user table with id, username and password. Then in your orders table have the id added in each order so you know who ordered it. Then query the order table for the id of the logged in user.

There are a number of ways to pass the username and password. You might want to just have them log in and upon successful login set a session.login = true. Then, at the top of each page check for the existance and state of the session.login.

This was kind of a 30,000 foot view. More details if needed.
The only dumb questions are the ones that are never asked
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top