Feature request : request-scoped variable
It accessible globally throughout the request lifecycle or application using req.variablename . We can attach the variable to the req object in a middleware.
req.userid = sessionId //we can access the request-scoped variable globally
Log in to comment and vote
Comments3
yp
Dec 3, 2024
Give req scopped variable in assign value(Action:1002)
yp
Nov 19, 2024
The code is added in the notion. Please Check !
IamZenDevX
Nov 18, 2024
@yp , provide code into Notion