From 324449eb0f1363b35fc5b5712957060d26fa8c19 Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Thu, 11 Aug 2011 01:52:13 +0000 Subject: [PATCH] fixed bug where IE wasn't send the HOOKSESSION cross domain/port git-svn-id: https://beef.googlecode.com/svn/trunk@1179 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- core/main/client/session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main/client/session.js b/core/main/client/session.js index 799773c51..ab61a5a95 100644 --- a/core/main/client/session.js +++ b/core/main/client/session.js @@ -40,7 +40,7 @@ beef.session = { } // if the browser is not known create a hook session id and set it - if (typeof id == 'undefined') { + if ((typeof id == 'undefined') || (id == null)) { id = this.gen_hook_session_id(); this.set_hook_session_id(id); }