Hi, I ended up with this problem, but having a six hundred thousands 
records in my sessions table…
Surely've been hacked;
The site are protected with a simple login page (salt & hash, successful 
create a user session) and is just on the web for development/production 
testing.
I wonder exactly how it has happenned; The logs don't show any 
activities !!!
might be something like XSS, but if it seems obvious for some of you, 
thanks for the info you'd provide.



> For MySQL db, here is the migration to change to longtext:
> 
> [code]
> class ChangeSessions2 < ActiveRecord::Migration
>   def self.up
>     execute "ALTER TABLE sessions CHANGE COLUMN data data LONGTEXT"
>   end
> 
>   def self.down
>   end
> end
> 
> [/code]
> 
> Regards,
> 
> LarryK

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to