Next.js Discord

Discord Forum

Debug in server action

Unanswered
Ragdoll posted this in #help-forum
Open in Discord
RagdollOP
Using server action when i login the session cookie is not set in the browser. But when i login client side it is set in the browser. But i want to use server action

4 Replies

But i want to use server action
why?
RagdollOP
If I have a seperate server I should not use server action at all?
@Ragdoll If I have a seperate server I should not use server action at all?
when you already have a backend, why should you create a second backend that's just a wrapper for the first backend?

More secure? I hope you make all backend secure.
Less data on the client? The data will be nearly the same
The client don't know which server it will be fetched from? Even if the client would know, what then?
Form validation? I hope you validate the incoming data everytime
...
@Ragdoll solved?