[imp] Fwd: Re: error: redirect

Jan Schneider jan at horde.org
Sat May 30 08:19:43 UTC 2009



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

Jan Schneider wrote:
> Zitat von Kakooty <kakooty at gmail.com>:
>
>> Michael Rubinsky wrote:
>>>
>>> Quoting Kakooty <kakooty at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/imp/attachments/20090530/a1156636/attachment.bin>


More information about the imp mailing list