Stas Bekman wrote: [snip]
Why don't you first post what you had on your mind. May be your idea doesn't need that at all.
Well, here's what I was thinking. First, write a quick and dirty mod_perl handler that looked for a specific cookie; let's say 'ApacheTest'.
If it wasn't supplied by the client, send a new copy out. If it was sent by the client, simply return the supplied cookie/value.
Shouldn't take more than a few lines of code, and it removes the dependency of usertrack and Apache::Session.
Then, simply write a test that makes a series of requests to that handler. The first response should return a new ApacheTest cookie/value, and the second test should pass back the same ApacheTest cookie/value if
Apache::TestRequest::user_agent( cookie_jar => {});
and it's surroundings are woroking fine.
-=Chris