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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:36:44+00:00 2026-05-24T18:36:44+00:00

I am new to Sessions and I am concern about the security. My question

  • 0

I am new to Sessions and I am concern about the security.

My question is if the use of Sessions is secure enough, so that a user will not be able to change the values from page1 to page2 with the use of a plugin or any advanced methods.

My purpose is to clear up my mind on what to choose between

  1. to pass all the needed variables through sessions or
  2. to pass only the id through post/get and get the needed data from
    the database.

What I do is to in page1.php to submit $name and on page2.php $_POST['name'].

  • 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-24T18:36:45+00:00Added an answer on May 24, 2026 at 6:36 pm

    Session data is stored on the server. The only session-related data that should EVER be sent to the user is the session ID token – this is generally a randomly generated string, and is basically meaningless by itself.

    Unless your code provides a method for a user to directly change a value in the session, it is impossible for a user to change the session data unless they hack the server.

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

Sidebar

Related Questions

I'm working on a public site which will use DB backed user sessions keyed
Does anybody try zf2? I can not understand new mechanism of using sessions in
I am new to sessions, and think I get the basics of them, they
Came across this code: <?php require_once 'HTTP/Session/Container/DB.php'; $s = new HTTP_Session_Container_DB('mysql://user:password@localhost/db'); ini_get('session.auto_start') or session_start();
I am new to use session management & I am using struts with MySQL
I have a website which is behaving oddly in terms of creating new sessions.
I'm building a web service that requires me to generate custom sessions and random
We've got a stipes (java) web-app that needs to make about 15 different webserivce
Ok this is a 2 part question, first primary concern is the nextval() bit.
I have just re-implemented an ASP.NET web application that uses NHibernate to use a

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.