storeSession method

dynamic storeSession(
  1. dynamic key,
  2. dynamic value
)

Implementation

dynamic storeSession(key, value){
  req?.session.remove(key);
  req?.session[key] = value;
}