Example seems to be generating alpha-numeric session ID's here.
Session values are generated in netweb.clw, NetWebServer._GenSessionId method.
That would be the place to add some self.trace code to see what's going on. Specifically you'd want to know the value of the parameter (p_length). If it is < 1 then numeric session ID's are generated.