SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2011
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Twitter Client / Losing Session

    Hello,

    I am building a twitter client and I have a problem with keeping session alive. I use session_start() and the use of sessions works perfectly fine. But... When my app needs to register with twitter, and when the I'm redirected to the callback url, sessions are gone. I just have an empty array. How come?

    Best.


  2. #2
    SitePoint Member
    Join Date
    Dec 2004
    Location
    laval
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    session might not hold from ssl to none ssl pages, make sure connection is the same when you saving and when you reading

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2011
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many thanks for your reply. I'm not using SSL. Twitter is.

    Shoudl I use SSL (no idea how to do it on a local server) or can I just use https://?


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
  •