1. A method comprising: (a) identifying, by the device intermediary to a client and a server, a type of application from a communication via a session between the client and the server (b) identifying, by the device based on the type of application, an access profile for the session, the access profile comprising a policy for proxying cookies to be sent to the client; (c) determining, by the device responsive to the policy of the access profile identified for the session based on the type of application, to proxy for the client one or more cookies of a response received by the device from the server; and (d) retaining, by the device responsive to the determination, the one or more cookies at the device while forwarding to the client the response with the one or more cookies removed from the response.