Hi,

I hope I'm going mad, but I suspect not.

I'm calling Ext.Direct methods, and getting different session ids each time!

Using IIS7, and a tweaked version of Evan's Ext.Direct router.
Each action class implements IReadOnlySessionState.

Server-side (simplifed):
Code:
[DirectAction()]
public class MyHandler : DirectHandler, IReadOnlySessionState
{
    [DirectMethod("getSessionId")]
    public string GetSessionId()
    {
        return HttpContext.Current.Session.SessionID;
    }
}
Client-side:
Code:
            var repeatCount = 20;

            var func = function(counter) {
                MyHandler.getSessionId(
                    function(response, e) {
                        if (e.status) {
                            me.update(Ext.String.format('{0}<br/>SessionId{1}: {2}', me.html, counter, Ext.isEmpty(response) ? '<empty>' : response));
                        } else {
                            me.update(Ext.String.format('{0}<br/>Exception{1}: {2}', me.html, counter, e.message));
                        }

                        if (counter < repeatCount) {
                            func(++counter);
                        }
                    }
                );
            }

            func(1);
Output:
Code:
SessionId1: rbfqlb55iyowcp45oly11w55
SessionId2: cy0gwvu0sivxax555jochdfm
SessionId3: mmxizyia2crhla45aowtf4ft
SessionId4: y5lqv345m2fanp554v0batrf
SessionId5: cshgms5503i4hs55yzi0t155
SessionId6: zwmaxfjvu2qkueuxpds1bem4
SessionId7: vxwh2dynkdwpkeyt3e5j4y45
SessionId8: omsbawv042eju155ebt2gr2i
SessionId9: dsa31dz5eys2gd45qrmtmn55
SessionId10: 3ac1lv55te0odk55ii0poz45
SessionId11: sekf1w452rzbq52zji4hrn45
SessionId12: trabhsugqt3rsf55w55arn2s
SessionId13: z4tk1y3wiqonftejpa0nddri
SessionId14: cq1vqaznudfclq553q10syq1
SessionId15: ksylrcawjx23j3555es3qrnq
SessionId16: oiju1h452uywvy45cecju245
SessionId17: lkfljwnk0rvgt52f1ikemorm
SessionId18: a453sinrbasaws55yiwbc545
SessionId19: fghs0p55zymu1vywh4vg5a55
SessionId20: j0sa05efxicc40bo3qwoyl2y
Am I missing something?

Please help, session data is crucial to our authentication mechanism!

Cheers,
Westy