h3 icon indicating copy to clipboard operation
h3 copied to clipboard

How implement Session

Open folamy opened this issue 2 years ago • 5 comments

Is there a way to implement session in h3?

req.session => object

folamy avatar Jan 16 '22 23:01 folamy

looking for nuxt3

ironytr avatar Mar 19 '22 18:03 ironytr

I need some session store to work with h3.

kenta92 avatar Mar 25 '22 11:03 kenta92

@pi0, well done for all you do! Is there any update on How to implement server session on h3?

folamy avatar May 24 '22 07:05 folamy

In the meantime, you can use this simple module that wraps express-session

https://github.com/wobsoriano/h3-session

wobsoriano avatar Jun 02 '22 15:06 wobsoriano

I have created a new module for interoperability between h3 and express compatibility. You can use this also.

https://github.com/hidekatsu-izuno/h3-express

hidekatsu-izuno avatar Oct 15 '22 01:10 hidekatsu-izuno

Session support just landed via https://github.com/unjs/h3/pull/315. Feedbacks more than welcome.

pi0 avatar Feb 06 '23 22:02 pi0