We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea5a54a commit ca549a4Copy full SHA for ca549a4
examples/example_01.php
@@ -5,6 +5,19 @@
5
* Most other providers work pretty much the same.
6
*/
7
8
+/**
9
+ * Step 0: Start PHP session
10
+ *
11
+ * Normally this step is not required as HybridAuth will attempt to start the session for you, however
12
+ * in some cases it might be better to call session_start() at top of script to avoid cookie-based sessions
13
+ * issues.
14
15
+ * See: http://php.net/manual/en/function.session-start.php#refsect1-function.session-start-notes
16
+ * http://stackoverflow.com/a/8028987
17
+ */
18
+
19
+session_start();
20
21
/**
22
* Step 1: Require the Hybridauth Library
23
*
0 commit comments