mdbbound
asked on
My login does not work.
hi
i created this login using sessions just like what was written in Ben Forta's 5th Edition book and this is what happened.
I was in dreamweaver and hit F12 to view my "startuppage.cfm". The first time i logged in I was able to type the name and password and was able to get it. Then, I closed the browser, and tried to get in as another user. I was still successful. Again I closed the browser.
This time, i tried to open my application from the shortcut in my desktop. Walla, it did not even asks for a username and password. I was able to go to the page I want to go to without requiring a username and password.
Why is that? My login is not working properly. What should i do?
Please help. Thank you in advance
PS. All users of my application will have to login. But only Administratrs have the access to the Admin pages.
By the way, i use the basic session method in Ben forta's book. So, those CFlogout, CFlogin is a bit different from what i am doing
i created this login using sessions just like what was written in Ben Forta's 5th Edition book and this is what happened.
I was in dreamweaver and hit F12 to view my "startuppage.cfm". The first time i logged in I was able to type the name and password and was able to get it. Then, I closed the browser, and tried to get in as another user. I was still successful. Again I closed the browser.
This time, i tried to open my application from the shortcut in my desktop. Walla, it did not even asks for a username and password. I was able to go to the page I want to go to without requiring a username and password.
Why is that? My login is not working properly. What should i do?
Please help. Thank you in advance
PS. All users of my application will have to login. But only Administratrs have the access to the Admin pages.
By the way, i use the basic session method in Ben forta's book. So, those CFlogout, CFlogin is a bit different from what i am doing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello,
Now i can relax a bit. The Login now works. I added sessiontimeout and did my logout as well as my AdminOnly pages access.
All are working fine at this point. I'll be presenting in about 30 min from now.
Thank you all.
Now i can relax a bit. The Login now works. I added sessiontimeout and did my logout as well as my AdminOnly pages access.
All are working fine at this point. I'll be presenting in about 30 min from now.
Thank you all.
glad i could help
thanks for the points
thanks for the points
If you use J2EE sessions ( a setting in CF Admin) then the session ends when the browser is closed.