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 8155827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:46:41+00:00 2026-06-06T16:46:41+00:00

I need a url for using that for a template. Now there are two

  • 0

I need a url for using that for a template. Now there are two ways of storing the url and use that again in python I guess…
One is using session to store that URL and get it later whenever we need it…
or
Second is using cookies to store that URL and get it later..

So which method is more appropriate in terms of security ?
Is there any other method in python which is more better for storing the url and use that later, which is more secure..?

While using cookies somebody can easily change the information I guess, in sessions also somebody can hijack it and make the changes….

  • 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-06-06T16:46:43+00:00Added an answer on June 6, 2026 at 4:46 pm

    I don’t think “session hijacking” means what you think it means. The only thing someone can do with session hijacking is impersonate a user. The actual session data is stored on the back end (eg in the database), so if you don’t give the user access to that particular data then they can’t change it, whether they’re the actual intended user or someone impersonating that user.

    So, the upshot of this is, store it in the session.

    Edit after comment Well, you’d better not allow any information to be sent to your server then, and make your website browse-only.

    Seriously, I don’t see why “session data” is any less secure than anything else. You are being unreasonably paranoid. If you want to store data, you need to get that data from somewhere, either from a calculation on the server side, or from user submissions. If you can’t calculate this specific URL on the server side, it needs to come from the user. And then you need to store it on the server against the particular user. I don’t see what else you want to do.

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

Sidebar

Related Questions

I'm using urllib2 to open a url. Now I need the html file as
I need to generate an absolute URL that will use the secure HTTP protocol
I need a regular expression or module for validating the website URL using Perl.
I need to check the web address, using regular expression. If user type URL
My application uses ajax and refreshes some parts of a template. Now I need
I've been working on a small page in PHP, one that doesn't need the
I'm writing a program that fills in a pdf template (using fpdf) then captures
I need to compare the performances of a Flask application that uses jinja2.Template.render against
i m using yootheme joomla template in joomla 1.5.x, my problem is that i
I need to download a Cab file from a Url into a stream. using

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.