Skip to content

Commit b2b654c

Browse files
Need session activation from Parse (#830)
* Need session activation from Parse After logging in with parseUser, it can be fine if you start session automatically and developers don't need to call PHP session_start() function, or define into the documentation the full use of the session, thanks. * Update users.md Co-authored-by: Manuel <[email protected]>
1 parent 710d728 commit b2b654c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/php/users.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Note that this will only send if the account for the email requested has not alr
8888

8989
It would be bothersome if the user had to log in every time they open your app. You can avoid this by using the cached current `ParseUser` object.
9090

91-
By default, whenever you use any signup or login methods, the user will be saved in PHP Session storage (The `$_SESSION` superglobal.)
91+
By default, whenever you use any signup or login methods, the user will be saved in PHP Session storage, the `$_SESSION` superglobal. When re-initializing the Parse PHP SDK, you may need to instruct PHP to load the stored session data into the `$_SESSION` superglobal using `session_start()` before initializing the Parse PHP SDK to make Parse use persistent storage and continue the previous user session.
9292

9393
```php
9494
$currentUser = ParseUser::getCurrentUser();

0 commit comments

Comments
 (0)