Forum Moderators: phranque
A rewrite does not set a cookie by itself. Under Apache 2.x, you can add a flag to RewriteRule set a cookie if desired.
I hope that's what you are asking about, the question is not clear.
Jim
RewriteRule old_URI new_URI [CO=NAME:VAL:domain{:lifetime{:path}}]