# Redirect bug with restful-authetication plugin

**URL:** <https://www.ruby-forum.com/t/redirect-bug-with-restful-authetication-plugin/197222>\
**Category:** Rails\
**Created:** [October 23, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/redirect-bug-with-restful-authetication-plugin/197222 "2008-10-23T15:14:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ami](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@ami](https://www.ruby-forum.com/u/ami)\
**Post date:** [October 23, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/redirect-bug-with-restful-authetication-plugin/197222/1 "2008-10-23T15:14:12Z")

</div>

Hi

i’m expriencing a weird bug with the restful authentication plugin:

when a user is logged-in and closed the browser then reopen it the  
page will loop with a redirect

my only temp solution is to clear the cookies and autheticated session  
the reload

here’s my session controller:

[http://www.pastie.org/298856](http://www.pastie.org/298856)

is it because of my before filters not set correctly?

thanks  
Ami
