Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Issue reliably getting cookies in API Routes. - Nuxt
N
Nuxt
•
2y ago
•
132 replies
Optio1
Issue reliably getting cookies in API Routes.
How can I reliably get a cookie in the
<script
> part of one of my
.vue files
? It works if I click into the URL bar and hit enter
, but not when I refresh or get redirected from an external webpage
, or using a link inside of my app
.
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
Handling Cookies in API Routes
N
Nuxt / ❓・help
3y ago
Getting access to cookies in middleware
N
Nuxt / ❓・help
2y ago
API routes directory
N
Nuxt / ❓・help
2y ago
Use prisma globally in api routes
N
Nuxt / ❓・help
2y ago