Authentication not redirecting to page with "Page Access" defined
I have 2 sets of working pages that were built last year, and both are working flawlessly -- last week I needed to create a new set of pages that connect to the a new table in the same database as the working pages, and for some reason the when I try to login using the new login page, it will not redirect to the new "protected" page. It seems that the session cookie is not being set properly and it redirects to the page defined in the "If access denied, go to:" field.
I also tried taking one of the working sets of pages and verified that the redirect was working, and then simply changed the "table" reference in the code, to the new table within the same database, and it stopped working.
I can "register" with no problem, the information is added the to the database but when I try to "Login" it will not grant access to the page with the "grant access if" code on it.
If I take the "grant access if code off of the page I am trying to protect, I can redirect to it, and I can view my profile info, and I can log out -- but if that "grant access if" code is on the page it will not work, and keeps bouncing back to the "if access denied, go to:"
If you can tell me what code to include in this post -- I can copy and paste as much as you need to see to help me fix this.
I have already lost 3 days of billable time trying to fix this and trying to find an answer in the forum.
Thank you in advance,