that's what the rule above does, hoolio, and I agree that xf6svrb should start a new post with details of the specific problem he is trying to solve.
As for supporting cookies for cookie-less clients: Bottom line, if your clients don't handle cookies, figure out a way to have the real server insert URI-based session tokens instead.
I've written an iRule to proxy cookie values via the session table for non-cookie enabled clients, but I don't recommend that approach, in fact have recommended against it several times since, as it was a painful and time-consuming experience. The solution requires a number of complex regex substitutions, so it is very slow and a huge resource hog, and the full development of the algorithm to match the requirements of a specific site takes a good deal of trial and error to define every instance in which the data must be swapped, inbound and out. Even when fully optimized, the solution is limited as to the size of response pages that it can manage.
/deb