Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple password protection page, please help

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,
Could you guy help me out this problem. I have mutiple password protection pages, let's say room1, room2, and room3. ( room1, 2 and 3 are dir that contain all, .cfm pages) in room1 I have 2 more sub dir call them room1sub1, room1sub2 also password protected by their own. I also have application templates in every single dir/subdir that has password protected. the problem is when I successfully login to one of room1 sub dir say room1sub1, at the main page of room1sub1. at its url bar (browser)page, I try to change room1sub1 with room1sub2 and I can access the room1sub2 page without any login. how can I prevent this from happenning?
thank you very much
hp
 
Are checking for the appropriate password in application.cfm in all subdirectories?
 

Another thing to check is that if the application.cfm files all have:

<CFAPPLICATION NAME=&quot;Rooms&quot; ...

the same NAME then the session variables will be the same. In order to make each section have a different set of session variables you need to change the name.

Let us know what works.
 
Thanks guys, I just started to learn coldfusion. thanks for the help and tlhawkins, I check the application template, they all have the same names. ;-) I fixed and it worked now. many thanks

 
thanks guys, I just begin to learn coldfusion. thanks all for the help. and tlhawkins, yes I checked the application templates and they all have the same name. ;-) I rename each of them and it worked fine now. many thanks.

Kalo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top