Click to See Complete Forum and Search --> : Logging in and out of secure page


dcjones
08-04-2003, 04:31 AM
Hi all,

Can anyone see a way around this problem.

I have a site which uses a membership area. Users login with USERNAME and PASSWORD. Once they are logged in they can purchase goods on-line.

If a user clicks on an item they want to buy they are redirected to a ClickBank account, they make the purchase and are then redirected to a thankyou page.

Because they are coming back to the members area the webserver is asking for LOGINANME and PASSWORD again, which I think is correct.

Question is how can I set it up so that the user does not have to enter the login information to get back to the members area.

Can anyone advise please.

Keep safe and well

Regards

Dereck

Khalid Ali
08-04-2003, 07:11 AM
youcan use either some sort of session object to rememebr if a user has logged in for a certain period of time or coockies.
that way you won't have to ask them for login over and over.

dcjones
08-04-2003, 08:23 AM
Sorry to be a pain Khalid Ali

Can you suggest where I can find a script that would do this for me. I would like to use sessions if possible.

I am new to this PHP business but learning fast.

Thanks for your help

Keep safe and well

Regards

Dereck