• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Paul Milbank
    Paul Milbank
    6,445 Points

    Why not use clearCookie() to remove express session?

    Posted August 30, 2017 9:47am by Paul Milbank
    Paul Milbank
    6,445 Points
    • JavaScript
    • User Authentication With Express and Mongo
    • Improving the App with Custom Middleware
    • Review: Custom Content

    0 Answers

  • Neil Goldstein
    Neil Goldstein
    13,671 Points

    I've tried several variations and scoured the internets for an answer and coming up short. Anyone have ideas? Thanks!

    Posted July 17, 2017 3:59pm by Neil Goldstein
    Neil Goldstein
    13,671 Points
    • JavaScript
    • User Authentication With Express and Mongo
    • Improving the App with Custom Middleware
    • Review: Custom Content

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Complete the code above to redirect the user to the login page if they aren't logged in.

    Posted February 22, 2017 8:56pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • JavaScript
    • User Authentication With Express and Mongo
    • Improving the App with Custom Middleware
    • Review: Custom Content

    0 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.