PHP session but in nextJS
Answered
127.0.0.1 posted this in #help-forum
Im used to PHP but now i wanted to try nextJS. In PHP its easy to make a session when user is logged in.
How can i do the same the easiest and most secure way in NextJS typescript?
How can i do the same the easiest and most secure way in NextJS typescript?
Answered by New Guinea Singing Dog
16 Replies
New Guinea Singing Dog
You could use something like iron-session, but thats fairly minimal
I would look into
Specifically
New Guinea Singing Dog
Answer
But can i use NextAuth with my own prisma script and only use it to make a session?
Oh thanks
You can read my mind for some reason
Thanks
New Guinea Singing Dog
Good luck ðŸ‘
Thank you. Is it okay to ask you here if i run into a problem?
New Guinea Singing Dog
I'm about to go to sleep rn cause it is midnight but i would create a new thread that is specific to your problem
and so other people can maybe help
Oh alright where i am its 12pm lol. Thanks bro
New Guinea Singing Dog
Nw have a good one
You too