Forum Moderators: phranque

Message Too Old, No Replies

Redirect based on password

What is the best way?

         

monkeythumpa

12:10 am on Mar 2, 2005 (gmt 0)

10+ Year Member



Can I send two people who log into the same page to different pages by only using .htpassword?

cmatcme

6:51 pm on Mar 4, 2005 (gmt 0)

10+ Year Member



Not that I know of but I can think of great ways using other languages. Have you got any?

monkeythumpa

10:21 pm on Mar 4, 2005 (gmt 0)

10+ Year Member



I saw a flash example but would prefer to do it in php as the rest of my site. There is not a lot of sample code out there and was hoping .htpassword would be the silver bullet.

cmatcme

7:03 pm on Mar 5, 2005 (gmt 0)

10+ Year Member



I not a php wizard so you may need to modify this code:

//Code To request form password here
Location:point.asp //Redirects To point.asp

No doubt needs editing.
If you have asp I can tell you how to do it better.