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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:25:42+00:00 2026-06-05T19:25:42+00:00

I have an iOS app sending requests to a PHP based web service ,

  • 0

I have an iOS app sending requests to a PHP based web service , Everything used to work just fine but lately i’ve been losing sessions all the time.

I’ve checked the cookies and noticed that PHPSESSID changes on EVERY request i send , instead of using the same one,

After Request #1: I am a cookie ! PHPSESSID = 9lsv80co96op3mg4tffpuoav22
After Request #2: I am a cookie ! PHPSESSID = nn3f3v32j598jbhsof0admc442

I wanted to know if there is any way to persist the session id, or i just have to save it and post it every time? I would rather make this a server-side solution since if i would have to chnage something in the app itself, it would take a week to ten days for Apple to approve it.

If there’s any configuration that would help me with retaining the PHPSESSID value It would be very helpful for me.

Would appreciate your help. Thank you! 🙂

  • 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-05T19:25:44+00:00Added an answer on June 5, 2026 at 7:25 pm

    I believe your application isn’t holding the cookies that PHP is sending with the PHPSESSID so it’s generating a new session id for each request.

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

Sidebar

Related Questions

I have an iOS app that is calling a web service for some XML
I am trying to call a web service from an iOS app. I have
I have an iOS app that publishes a Bonjour service. On my network, the
I have an iOS app I created as a view-based app in xCode. I
I have an iOS app and I want to make it accessible. Everything goes
iOS 4 has an In-App SMS SDK for sending messages, but is there a
guys, I have iOS app, which running good on ios5.0, but on 4.3.3 it's
I have developed an iOS app that uses CoreData/SQLite. It works, but now I
I have a Rails web app that is used to gather data from an
I have an iOS app which is using ASIHTTPRequest to talk to a REST

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.