problem in login page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eshban
Forum Contributor
Posts: 184
Joined: Mon Sep 05, 2005 1:38 am

problem in login page

Post by eshban »

hi,

i am just making a small cart. In which there is a members area. each member is signup to buy products. Suppose one user is login through its proper userid and password, and put his selected items in cart. And then that user go to the home page of the site.

I want if user is already login through his userid and password, then my shopping cart did not ask the user to signin again, when he add another item to cart again

how can i implement this
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

proper checking of session existance (and an existing shopping cart) should be enough...
Post Reply