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

  • SEARCH
  • Home
  • 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 7447073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:30:16+00:00 2026-05-29T12:30:16+00:00

Suppose my django project gets some cookies from a server application (the webclient itself

  • 0

Suppose my django project gets some cookies from a server application (the webclient itself still gets django generated cookies). When I login django website, I ask for a cookie from that server application. It is currently saved in database, but we don’t want this method.

My question is: does saving this cookie in request.session[‘special_cookies’] safe? How long does this information last?

What is a better way to save this information throughout browsing? 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-29T12:30:17+00:00Added an answer on May 29, 2026 at 12:30 pm

    Yes, that’s safe. It’s still a database hit, though: in the standard Django configuration, session data is pickled into a binary data field in the session. It’s just provided for you “out of the box” rather than your having to store it yourself. You can improve performance by using the cached_db setting and giving memecache a lot of the details.

    RTFM, please.

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

Sidebar

Related Questions

Suppose I have the following Event model: from django.db import models import datetime class
I have a a django application which is being served from apache/mod_wsgi under www.mysite.com/mysite
Suppose the django.core.servers.basehttp.FileWrapper class is used to serve back content from a temporary file.
We have a small project that involves automatically parsing some server/mail logs (among other
I want to keep some global settings for my project in Django. I need
Everything works as supposed to on the Django development server. In Apache, the django
Suppose you have 2 different ASP.NET applications in IIS. Also, you have some ASCX
Suppose a large composite application built on several foundation components packaged in their own
My Django project is placed in /www/host1/htdocs/my/project , www and my are links to
I have a django project that uses a sqlite database that can be written

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.