1

I had a HTML5 + Jquery code to send HTTP POST to server to retrieve the data. First of all, Client apps need to perform login through Jquery + json. Then, client need to use the same session to call the web services to retrieve the data.

Can anyone advice me/ provide me an example on how to maintain/store session using js/jquery and html5 only?

Thanks in advance for the help.

2 Answers 2

1

To maintain session, the browser needs a session cookie (created server side). YOu may need to do the authentication without ajax.

Sign up to request clarification or add additional context in comments.

1 Comment

can you provide me an simple example?
0

Or may be go the cookie-less session approach; if your login json has the capability to disperse a token...

1 Comment

may be this might help link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.