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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:37:51+00:00 2026-05-15T07:37:51+00:00

I am using the cart class for a shoping cart. Now I want to

  • 0

I am using the cart class for a shoping cart.

Now I want to use the Simplelogin library, but the cart session is erased when I login.

How can this be solved ?

It is possible to use two sessions for one user ?

Or maybe merge all in the same session ?

  • 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-15T07:37:52+00:00Added an answer on May 15, 2026 at 7:37 am

    I don’t know if this will help you, since I don’t use Code Igniter and don’t know how the stuff is handled there.

    But I usually use sub-arrays for everything I do in sessions, so no vars are in danger of being overwritten. So if I have a login-script it would only save to $_SESSION[‘login’] (for example $_SESSION[‘login’][‘password_hash’])

    If that’s not possible with code igniter or that library always deletes the session (what kind of library would do something like that???) you have to save the data somewhere else. Either in a hidden form field in the login-form (don’t forget to serialize the data first) or in a Cookie.

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

Sidebar

Related Questions

I am using the Cart class of CodeIgniter, basically that's just sessions. Now, Safari
<form name=myForm> <input type=text name=f['cart']]['product_name']/> </form> How can I access textfield's value using javascript?
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
I'm using python for my shopping cart class which has a list of items.
I'm using a javascript shopping cart on a store, and I want to send
I'm using PHP to payment using Paypal It's a shoping cart system. Everything went
Using following method to create Shopping Cart Session http://net.tutsplus.com/tutorials/other/build-a-shopping-cart-in-aspnet/ Now running locally on my
I've tried looking at other answers for this but I can't seem to figure
We're using the PayPal _cart system, but need to be able to limit shipping
For my shopping cart I'm using a bit of javascript to update my select

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.