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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:14:07+00:00 2026-05-31T21:14:07+00:00

I have this horribly stripped delphi code that basically login to server, save cookie

  • 0

I have this horribly stripped delphi code that basically login to server, save cookie in a global cookie manager, then upload files in threads (using Delphi 2010 + Indy 10.4736)

Each thread reads the global cookie manager and upload the file. Server side, I’m using PHP with CodeIgniter.

Everything works just fine, except that CodeIgniter has this sess_time_to_update setting in config.

This *sess_time_to_update* defaults to 300 seconds after which CodeIgniter completely regenerate the session id.

This is good for security, but this also invalidates my login/cookie info in indy.

My question is: how can I avoid this without adjusting *sess_time_to_update*? Is there some setting in Indy to make it aware of the session id? Should I add a timer and automatically re-login every 300 seconds (or less)? What’s the best approach to make Indy handle this situation?

Thanks!

EDIT FWIW: the global cookie manager contains something like this

  • 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-31T21:14:08+00:00Added an answer on May 31, 2026 at 9:14 pm

    When CodeIgniter generates a new session, it should include the session ID in the cookies for each response it sends. Update your global cookie list so that subsequent requests will use the new ID instead of continuing to use the original value.

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

Sidebar

Related Questions

I have this code in jQuery, that I want to reimplement with the prototype
I have this RewriteRule that works too well :-) RewriteRule ^([^/]*)/$ /script.html?id=$1 [L] The
I have an unavoidable situation that looks like this (simplified): FUNCTION_TO_CALL = y #
I've managed this so far: [removed url] The plan is to have that video
I have the following SQL query that performs horribly due to the select count(1)
I have this query that is bothering me; it is encapsulated as a new
I have a feeling I'm doing this horribly, horribly wrong. Nested for loops? What
I have this one gigantic complex LINQ to SQL query that I need to
I have this horrible habit of typing the below and not catching it until
I have this idea for a free backup application. The largest problem I need

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.