Call web service and generate a token on initial login

I need to create a web service that can be called by other web applications.  User credentials will be passed to the web service and I need to  create a token that last for a certain amout of time on the intial login.  This token will be used for each subsequent call if the token is still valid(time did not expire).   Can anyone help or provide an example of how to do this using web services?
JeffDunAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.