Jump to content

Redirecting first time users to login page


rajkpy

Recommended Posts

Please note: I am urgently in need of a solution to this question,

for that i have posted this question in different forums so that i can get an answer as quickly as possibly. Please accept my apologies for any inconvenience caused.

 

Hi experts,

I have a application which consists of a login page and other application specific php file.

At present the users are able to access the application files directly through the url.

 

Now I want to have an access control feature implemented by which when a user first tries to access the files directly through url, they are redirected to the login.php page. and once the user is able to login successfully they are then redirected to the file requested previously and now he can access any of the application files by directly mentioning the url.

 

Now since I have about 1000 application specific file, please

let me know how i can implement this access control feature. As i dont want to including any session specific feature in all the 1000 files, it would be great if I have a centralized way of doing this.

 

Thanks in advance.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.