Profile

Cover photo
Richard Deeming
Works at Nevalee Business Solutions
Attended University of Southampton
Lives in West Sussex
25 followers|15,473 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
Add a comment...

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.
2
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...
Have him in circles
25 people
Cascading_Style_Sheets's profile photo
Colin Minihan's profile photo
Dave Clark's profile photo
Set up Cron's profile photo
sarkari result alert's profile photo
William Norman-Walker's profile photo
Bobby Etheredge's profile photo
Hayley Evison's profile photo
Removals Southampton's profile photo
People
Have him in circles
25 people
Cascading_Style_Sheets's profile photo
Colin Minihan's profile photo
Dave Clark's profile photo
Set up Cron's profile photo
sarkari result alert's profile photo
William Norman-Walker's profile photo
Bobby Etheredge's profile photo
Hayley Evison's profile photo
Removals Southampton'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