You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team
I am working on a LB4 application and I need to persist sessions. I have read that one way to do this is by using the RequestWithSession interface, which extends the built-in Express.Request interface with an additional session property. However, I am not sure how to use this interface.
Can anyone provide an example of how to use the RequestWithSession interface to persist sessions in a LoopBack 4 application? Are there any documentation or tutorials available that explain how to use this interface effectively? My goal is NOT necessarily to use RequestWithSession, any tool that gives me a session will do.Thank you in advance for your help. Here's an example of my sign in function:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team
I am working on a LB4 application and I need to persist sessions. I have read that one way to do this is by using the RequestWithSession interface, which extends the built-in Express.Request interface with an additional session property. However, I am not sure how to use this interface.
Can anyone provide an example of how to use the RequestWithSession interface to persist sessions in a LoopBack 4 application? Are there any documentation or tutorials available that explain how to use this interface effectively? My goal is NOT necessarily to use RequestWithSession, any tool that gives me a session will do.Thank you in advance for your help. Here's an example of my sign in function:
Beta Was this translation helpful? Give feedback.
All reactions