Without seeing code we can only speculate and suggest ways you can attempt to diagnose the problem.
As far as I can tell one of three things is happening:
- The session is not being saved.
- You're not filtering for a logged in user.
- You're going to the sessions controller for no good reason.
If it's the former, you can take a look at the development.log to figure out what actions are being called and whether or not they're successful. If you're just submitting gibberish then there's no reason for the session to be saved. A new session will only be created when a user is authenticated.
To make sure it's not the second problem you should ensure that controllers/views/layouts contain current_user
or logged_in?
Assuming your using the Restful Authentication plugin, there really shouldn't be any views associated with the sessions controller. You might just be seeing the standard layout.