Displaying 2 results from an estimated 2 matches for "phpbb_session".
Did you mean:
phpbb_sessions
2006 May 23
2
additional fields in session DB table
...b however so i need some extra fields populated in
the session table. In application.rb i put a before_filter to update the
session table
I have a model for the sessions
$ more app/models/session.rb
class Session < ActiveRecord::Base
set_primary_key "session_id"
set_table_name "phpbb_sessions"
end
and a before_filter:
session_hash = { "session_user_id" => @entry.user_id, "session_ip" =>
encode_ip, "session_time" => Time.now , "session_logged_in" => 1}
@tmpsess = Session.find_by_session_id(session.session_id)
@tmpsess.update_attr...
2006 May 30
3
phpbb forum with rails application.
I would like to knock up a phpbb forum with a rails application.
I wanted to do this as I want to use ActiveRecord to crawl through the
user database in the rails app.
Is there a way to do this - on the same domain name and server...
Or does it depend how the server is setup?
--
Posted via http://www.ruby-forum.com/.