Log In User & Restrict Access Behaviors Redirect wrong

I'm using Dreamweaver's built in server behaviors "Log In User" and "Restrict Access to Page". The Login behavior should, on success, take the user to operations.php. Instead it returns the users to the login page (which is what I specified if the login is unsuccessful).

I'm not sure what is happening. It APPEARS that it redirects to operations.php, but operations.php's "Restrict Access To Page" seems to be bouncing the user back to the login page.

This is what I get after entering a correct user and password. This is on my local machine, I get the same on the real server.

I'm not using levels. I've checked and rechecked password and userId. In my search, I see that others have had a similar problem and I found some fixes that don't seem to work. Someone mentions registerGlobals in php.ini (a file I don't seem to have on my Mac OS X).

Any Help would be appreciated,


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

One of the things that isn't advised is to turn registerGlobals on.

A couple of things to check for.

Make sure that you havn't misspelled the page you're wanting to redirect to.
Make sure you have session_Start() at the beginnig of the page.  If you're using sessions.

Other than that you will need to post some code.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
studioEtcAuthor Commented:
Thanks for responding - I've fixed the problem but don't really know what I did to fix it. Kind of spontaneous remission after fiddling with the code.  So you get the points for responding.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.