1. A method, comprising: retrieving an L7 session identifier (ID) from a packet, wherein the L7 session ID identifies a particular application layer session between a client and a server in a network environment, wherein the server comprises a plurality of processors configured to process the packet; generating a hash from at least the L7 session ID, wherein the hash indicates a specific processor in the plurality of processors; and inserting the hash into a header of the packet.