----- Weitergeleitete Nachricht von kako...@gmail.com -----
     Datum: Sat, 30 May 2009 09:34:35 +0430
       Von: Kakooty <kako...@gmail.com>
   Betreff: Re: [imp] error: redirect
        An: Jan Schneider <j...@horde.org>

Jan Schneider wrote:
Zitat von Kakooty <kako...@gmail.com>:

Michael Rubinsky wrote:

Quoting Kakooty <kako...@gmail.com>:

Hi
when i use Auth::clearAuth() to destroy session. i get this error instance of redirect to login page:

*Redirect Loop*
Iceweasel has detected that the server is redirecting the request for this address in a way that will never complete.

Where/when are you calling Auth::clearAuth()?

------------------------------------------------------------------------------------------------
in my program when the user login and the stream of program go to redirect.php , i wrote some code for check user for how many days ago changed password, in function _framesetUrl . if the last change password is bigger than 10 days, i redirect he/she to page index2.php for change password. every thing is ok but i want disable the panel of user until change password by this work, the user can change index2.php to index.php and goto panel.this is very bad. i want when user redirect to my page, just can change password and don't have any session. how can do this ? [in this page i have a straight access to change password, so i don't need any session or if needed i can create my session.]

i use in my page(index2.php) Auth::clearAuth() ; but i get following error.

Use a pre or post authentication hook.

Jan.
How can do this? can you show a sample.


----- Ende der weitergeleiteten Nachricht -----


Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

Attachment: pgpHngVi4JOrj.pgp
Description: Digitale PGP-Unterschrift

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to