Forum Moderators: coopster

Message Too Old, No Replies

Can be redirection with session of user with htaccess?

         

toplisek

12:46 pm on Mar 4, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have defined htaccess and login data from clients.

How I check logged users and redirect to particular page?

Can be this tracked by rewrite rule and set session?

eelixduppy

4:11 am on Mar 9, 2011 (gmt 0)



You are looking to implement this with .htaccess alone? Not sure that is not going to happen. If you are requiring some kind of HTTP authentication on a particular page, and what to redirect users to different places, you should be able to do that upon successful authentication within PHP.

[php.net...]

This should get you started. Write some procedure that determines where each authenticated user should go.