Dynamic persistence cookie

Anyone knows how to send persistence cookie with httponly attribute to everyone but admins? By now I’m using 2 backends, one with httponly, the second without it. But is there another way, such as using variables?