In websites, an RNG based Session key is created during the handshake, encrypted using the public key and sent to the server.The server then decrypts the session key using its private key. All data sent between the two from then on is encrypted using this session key. So, the generation of the session key is done through asymmetric encryption, but symmetric encryption is used to encrypt all further communications. Once the session is finished, the Session key is discarded.