Hi!

My midgard sites have been online now for about a week and I'm getting a number of reports about login failures. That is, users can log into the site (and are greeted with their name), but as soon as they click on a link, they are redirected to the login screen (so obviously their login information gets lost or can't be validated). The strange thing is that it just happanes sometimes and only for some users and (that's the weirdest part) only when they click on certain links (which are all working).

I'm using auth_by_cookies_remember() from Nemein_Authentication to validate the users but I had to edit it slightly since it didn't work out of the box, so maybe I introduced a bug of some sort, but I have no idea what it could be.

So I was wondering if there is another way to authenticate users in a reliable way. All I want is to have users log in once, then a cookie should be set and they stay logged in forever (or until they decide to log out). What is the best way to achieve this behaviour? Simply send a cookie with the username in plain text? Or is there any other Midgard function I could use?

Bye, and thanks in advance,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to