SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question cURL and browser session cookies

    Is there a way for cURL to work with my browser session cookie?

    For example. I have a CMS and a ecommerce site under the same domain.
    1. I am visiting my store site (ecommerce) and it starts a session.
    2. The session ID is captured in a browser cookie.
    3. I would log in using a custom script that uses cURL to log into both systems.
    4. On the CMS, no problems, it is a new session.
    5. On the shopping cart, it has to retain my browser session to retain my shopping cart items added while I was not yet signed in.
    6. Once logged in through the system interfaces, the session will be returned to me
    Any comment is appreciated!
    D.: Web Developer | Designer | Management Consultant
    // Writing daily on:
    netParticles: Web Promotion and Marketing Blog | Twitter | RSS
    (insightful and helpful. not some know-it-all SEO site with spam text)

  2. #2
    Non-Member
    Join Date
    Oct 2009
    Posts
    1,852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In general, there is no use for the curl in the same domain.
    You can access same session in both CMS and ecommerce.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •