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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:13:43+00:00 2026-05-25T13:13:43+00:00

For my website, i’m using a flash app to allow some stuff that php

  • 0

For my website, i’m using a flash app to allow some stuff that php and just can’t do. Therefore i need to have a good medium to check the sessions. My current idea is to add the session into as a get variable on the swf, and check the contents of the session with session_id() in php after i post the image that i’m processing.

However, i’m afraid it might be a security risk. So my question is, does session_id(sessionhere) ignore expired sessions. Or does it renew the session, and still use the data that’s inside regardless if it is let’s say, 6 months old?

  • 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-25T13:13:43+00:00Added an answer on May 25, 2026 at 1:13 pm

    session_id() just sets the value of the session cookie variable. It doesn’t check if there’s a session of that name or not – that’s session_start()’s job. Setting the id, however, does force PHP to send a “set cookie” header with the new id, even if you did session_id(session_name()) which works out to a null-op overall.

    If you did session_id('constantstring'), then everyone who used your site would share the same session.

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

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
My website structure has a root /index.php, some files as /directory/index.php and some as
Website using .NET Framework v3.5, SQL Server 2008, written in C# I have a
My website is 900px witdth. Is there anything I can do that through facebook
My website needs a .htaccess file that will redirect a user to index.php when
My website can be view from 2 different kind of URI: www.mywebsite.com/magazine or www.mywebsite.com/index.php/magazine
I have a website with a Flash banner. This has worked fine in all
My website has a sidebar with lots of stuff in it—so much that the
My website doesn't need the user login functionality. Only some users need to post
My website makes a lot of requests. I often need to cancel all current

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.