Profile

Cover photo
Richard Deeming
Works at Nevalee Business Solutions
Attended University of Southampton
Lives in West Sussex
18 followers|12,648 views
AboutPosts

Stream

Richard Deeming

Deep Technical Q's  - 
 
Did someone break the .NET 3.5 version of MicrosoftAjax.js on Windows 8.1 update 1, or is it just my PC?

Handlers added via Sys.Application.add_init work fine on the server (Windows 2008 R2), but never fire on my new PC. (Tested in Firefox 29.1)

The only difference I can find is the MicrosoftAjax.js file:

Server version:
FileVersion: 3.5.30729.5458

    function Sys$_Application$initialize() {
        /// <summary locid="M:J#Sys.Application.initialize" />
        if (arguments.length !== 0) throw Error.parameterCount();
        if(!this._initialized && !this._initializing) {
            this._initializing = true;
            window.setTimeout(Function.createDelegate(this, this._doInitialize), 0);
        }
    }

Local version:
FileVersion: 3.5.30729.7903

    function Sys$_Application$initialize() {
        /// <summary locid="M:J#Sys.Application.initialize" />
        if (arguments.length !== 0) throw Error.parameterCount();
        if(!this._initialized && !this._initializing) {
            this._initializing = true;
            var check, er, app = this;
            function init() { if (!app._initialized) app._doInitialize(); }
    
            var onload = function() {
                Sys.UI.DomEvent.removeHandler(window, "load", onload);
                init();
            }
            Sys.UI.DomEvent.addHandler(window, "load", onload);
            if (document.addEventListener) {
                try {
                    document.addEventListener("DOMContentLoaded", check = function() {
                        document.removeEventListener("DOMContentLoaded", check, false);
                        init();
                    }, false);
                }
                catch (er) { }
            }
            else if (document.attachEvent) {
                if ((window == window.top) && document.documentElement.doScroll) {
                    var timeout, el = document.createElement("div");
                    check = function() {
                        try {
                            el.doScroll("left");
                        }
                        catch (er) {
                            timeout = window.setTimeout(check, 0);
                            return;
                        }
                        el = null;
                        init();
                    }
                    check();
                }
                else {
                    document.attachEvent("onreadystatechange", check = function() {
                        if (document.readyState === "complete") {
                            document.detachEvent("onreadystatechange", check);
                            init();
                        }
                    });
                }
            }
        }
    }
1
Rizwan Ahmed's profile photo
 
You should open firebug or developer tools (in ie) and look at console, it might be throwing JS error. Also you can debug to see what's going on. Test on IE as well.

Add a comment...
Have him in circles
18 people
SharePoint's profile photo
Peter O'Hanlon's profile photo
Set up Cron's profile photo
Sean Ewington's profile photo
William Norman-Walker's profile photo
Bobby Etheredge's profile photo
Colin Minihan's profile photo
Dave Clark's profile photo
Sampath Lokuge's profile photo

Richard Deeming

Deep Technical Q's  - 
 
Does anyone know of a (preferably open-source) solution for server-side revocation of FormsAuth tickets?

Customer is complaining that if they store the authentication cookie, log out, and then issue a new request with the stored cookie, they're still authenticated.

Before I start trying to build something myself, I'm wondering if it's already been done.
3
Joe Dluzen's profile photoDave Santosuosso's profile photoJim Scott's profile photoRichard Deeming's profile photo
16 comments
 
+Jim Scott Thanks for the suggestion. That still wouldn't prevent the cookie replay attack that my customer's worried about though.
Add a comment...
People
Have him in circles
18 people
SharePoint's profile photo
Peter O'Hanlon's profile photo
Set up Cron's profile photo
Sean Ewington's profile photo
William Norman-Walker's profile photo
Bobby Etheredge's profile photo
Colin Minihan's profile photo
Dave Clark's profile photo
Sampath Lokuge's profile photo
Education
  • University of Southampton
    Maths, 1995 - 1998
  • Worthing College
    1993 - 1995
  • Chatsmore Catholic High School
    1988 - 1993
Basic Information
Gender
Male
Relationship
Single
Work
Occupation
Software Developer
Skills
C#, ASP.NET, WPF, SQL
Employment
  • Nevalee Business Solutions
    Software Developer, 2012 - present
  • Arcom IT Ltd
    Software Developer, 1998 - 2012
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
West Sussex
Links
Contributor to