Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Verifying authentication session on server


Right now, I've got a system in place where players can enter their credentials using UMG. Those credentials are then posted over HTTPS to a webserver, which in turn returns a json reply with a session id and authentication token.

The idea is that the session id and authentication token are then given to a gameserver on-connect to verify and validate the session. Thats the point where I'm currently stuck at.

From what I've been able to gather, there are a few functions that get called on-connect:

AGameSession::ApproveLogin() AGameSession::PostLogin() AGameMode::PreLogin() AGameMode::Login() AGameMode::PostLogin()

I'm wondering which of these would be the best to use. Also, how would I go about passing custom information to the server on-connect from the client side?

Product Version: Not Selected
more ▼

asked Jan 14 '15 at 06:45 PM in C++ Programming

avatar image

93 9 8 15

avatar image ruohki Apr 05 '15 at 10:32 AM

Id like to know that as well. I thought about implementing a Listen Socket to the server and supply the data trough that. Dont know yet if there is some kind of unique client id that gets broadcasted when connection to the server using open

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question