search for: session_hash

Displaying 3 results from an estimated 3 matches for "session_hash".

2006 May 23
2
additional fields in session DB table
...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_attributes(session_hash) if @tmpsess the logfile...
2006 Mar 09
2
turn off auto increment
Hello, I have an old table that handles sessions. the primary key is a field called session_id and is the actual session id like "8df838303ufdfu838" however when i do the following in the model: set_primary_key "session_id" and the following in the controller: @session_hash = { "session_id" => @session.session_id, "session_user_id" => @entry.user_id, "session_ip" => encode_ip, "session_time" => Time.now } it wont update the session_id as noted here in script/console: >> sess = Session.new => #<Session:...
2004 Sep 30
1
[PATCH] NTLM2 support
...110,6 +110,23 @@ ntlmssp_v1_response(const unsigned char } void +ntlmssp2_response(const unsigned char *hash, + const unsigned char *server_challenge, + const unsigned char *client_challenge, + unsigned char response[NTLMSSP_RESPONSE_SIZE]) +{ + struct md5_context ctx; + unsigned char session_hash[16]; + + md5_init(&ctx); + md5_update(&ctx, server_challenge, NTLMSSP_CHALLENGE_SIZE); + md5_update(&ctx, client_challenge, NTLMSSP_CHALLENGE_SIZE); + md5_final(&ctx, session_hash); + + ntlmssp_v1_response(hash, session_hash, response); +} + +void ntlmssp_v2_response(const char *us...