sudocode / ohmy-auth

OAuth made easy for PHP (deprecated)
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Cant store tumblr or twitter in $_SESSION variable #16

Open austinkregel opened 10 years ago

austinkregel commented 10 years ago

I have been trying to store a serialized version of the $tumblr and the $twitter variables in the examples in a session and I can't do this for some reason. I have been able to do it for Facebook and Instagram to do it though. Any ideas as to what might be causing this?

cuongnq commented 10 years ago

I have same problem. I found problem, to override session by: https://github.com/sudocode/ohmy-auth/releases/tag/0.0.7 you need edit this also.

If not override session you must delete line: session_write_close(); on PHPSession.php

Checkout mine: https://github.com/cuongnq/ohmy-auth screen shot 2014-09-27 at 12 39 27 am

dannewns commented 9 years ago

i had this issue as well, had to move back to the 0.0.6 tag to get sessions to work for a package im building. Was there any particular reason this was added just out of interest? Great package by the way really made what im building a lot easier.

thanks again

Dan