Link to home
Start Free TrialLog in
Avatar of mdbbound
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
ASKER CERTIFIED SOLUTION
Avatar of hart
hart
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of James Rodgers
James Rodgers
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mrichmon
mrichmon

You may want to look at what type of session you are using.  If you are not using J2EE sessions then this can happen if you close and open the browser soon enough.

If you use J2EE sessions ( a setting in CF Admin) then the session ends when the browser is closed.
Avatar of mdbbound

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.

glad i could help

thanks for the points