[typo] Typo login problem

Phillip Morelock phillip at jibjab.net
Fri Oct 5 00:28:39 EDT 2007


I apologize in advance if this got double-posted -- I got a strange  
reply from the list serv when I sent it originally.

We're running Typo 4.1, and until recently it was working.  But now,  
we are no longer able to log in.

Based on telnet sessions to the web host, it appears that user.rb  
properly authenticates the user, and redirects them to "/admin/ 
content" -- but then /admin/content redirects them back to the login  
page again -- which I think is because the session functionality is  

Typo seems to generate a new session_id cookie with each request, and  
I think this is the problem.  When I look in the database, I notice 3  
new session rows when I:

- go to the login page
- log in
- get redirected back to the login page

Thanks in advance if anyone can help...

Below is my log info:

Processing AccountsController#login (for at 2007-10-01  
10:35:30) [POST]
   Session ID: 88c3531ef16812c937eac2c6afdfc039
   Parameters: {"user_login"=>"grevan", "action"=>"login",  
"controller"=>"accounts", "user_password"=>"********",  
"login"=>"Login »"}
Cookie set: is_admin=yes; path=/
Redirected to http://blog.jibjab.com/admin/content
Storing #<User:0xb692a1ac> in the cache
Completed in 0.00349 (286 reqs/sec) | DB: 0.00127 (36%) | 302 Found  

Processing ContentController#index (for at 2007-10-01  
10:35:30) [GET]
   Session ID: 1a0ebb36d41e511fca9df916d71b8731
   Parameters: {"action"=>"index", "controller"=>"admin/content"}
Redirected to http://blog.jibjab.com/accounts/login
Filter chain halted as  
@filter=:login_required>] returned false.
Completed in 0.00147 (682 reqs/sec) | DB: 0.00031 (21%) | 302 Found  

Processing AccountsController#login (for at 2007-10-01  
10:35:31) [GET]
   Session ID: 0356655e43fcdea7a7c5fca9fc3cb696
   Parameters: {"action"=>"login", "controller"=>"accounts"}
Rendering  within layouts/accounts
Rendering accounts/login
Completed in 0.00333 (300 reqs/sec) | Rendering: 0.00191 (57%) | DB:  
0.00059 (17%) | 200 OK [http://blog.jibjab.com/accounts/login]

More information about the Typo-list mailing list