issue 215 : IE will now get session id properly

git-svn-id: https://beef.googlecode.com/svn/trunk@711 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
xntrik
2011-01-23 09:24:41 +00:00
parent 3ca4cc284c
commit edf39e18ff

View File

@@ -58,7 +58,7 @@ beef.session = {
// construct the random string
for(var i=0; i<this.hook_session_id_length; i++) {
var rand_num = Math.floor(Math.random()*this.hook_session_id_chars.length);
hook_session_id += this.hook_session_id_chars[rand_num]
hook_session_id += this.hook_session_id_chars.charAt(rand_num);
}
return hook_session_id;