Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6735697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:02:35+00:00 2026-05-26T11:02:35+00:00

I am creating node.js app using express, everyauth and now.js. I have a server-side

  • 0

I am creating node.js app using express, everyauth and now.js.

I have a server-side now.js function in which I want to be able access the ‘User’ object for the authenticated user calling this function. I dont have access to the a ‘request’ or ‘session’ object, I only have the user cookie and connect.sid

My question is, whats best way to get the session information I’m looking for? Do I store these details in the cookie when the original page request comes in? Or Is there a way to get the session object from the connect.sid?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:02:36+00:00Added an answer on May 26, 2026 at 11:02 am

    To solve this I created a Memory Session store, which I passed in when creating the Express App. Which allows me to access the session store

    When a server-side nowjs function is called I use the connect.sid to retrieve the users session from the session store. This session then has all the authenticated users details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing server side applications in java, and now I have been
Creating a server-side socket will fail if I'm trying to use the same port
Suppose I have a CMS application written in Node.js which persists data on a
I am creating a node.js module which communicates with a program through XML-RPC. The
I'm using xtratreelist control from the DevExpress. I'm creating child node when user clicks
I'm creating a server management interface for a few of my servers (which host
Scenario I have a Node.JS service (written using ExpressJS ) that accepts image uploads
I have a problem with Oracle Spatial Network package. I'm creating NODE, LINK and
I'm install elastic search 0.16.2 on Debian Linux.I want to connect elastic server which
how can I show users success/error messages without creating a node for it? Thanks

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.