I don’t quite understand what you mean by saying changes in behavior between the “standard” representation and the “test” code, maybe you should dwell on this in more detail.
but how to check the session, I think there are approaches.
- you need to understand how a django session works, read the unit test for the session package that you used in your application. it is about understanding how the server side works.
- you will probably need to capture a few conversations between the browser and the server (e.g. using FIREBUG)
: session_id, . (POST, GET, COOKIES, ).
, HTTP, , , , .