Virtual Endpoint Storing Data

Hi Experts,

Is there any way or function which can be used in virtual endpoint plugin,

  1. To store a key-value pair into cache or Redis or MongoDB with a ttl.
  2. To retrieve a value based on key name from cache or Redis or MongoDB

Regards

Hi Experts,

Any feedback or suggestion on the query?

The above is resolved, using session object in the java script

@leon : thank you for the suggestion