This function is used to store a new session key in the session storage.
If the session storage client is not provided as the third argument, it will create a new session storage client based on the environment.
When localStorage is supported, it will return SessionLocalStorage, otherwise it will assume you are in a backend and use SessionMemoryStorage.
createSessionKeyEOA
This function is used to store a new session key in the session storage. If the session storage client is not provided as the third argument, it will create a new session storage client based on the environment. When localStorage is supported, it will return SessionLocalStorage, otherwise it will assume you are in a backend and use SessionMemoryStorage.