![]() Now we have saved the session id in Postman. Note: You can refer Environment and Variables tutorial to learn more about variables. This will get the session id cookie and send it as a global variable whose key is session ID and the value is the value of the cookie. For this use the following code in the Tests tab. We will try to save this session id as a variable in Postman.See if you get session id as a cookie in the response Adding this cookie as a header to the next request we send.Saving the cookie from the response we got from our first request.How to share Session ID Cookie with another request?įor passing the session id to another request, we have to follow two steps namely After the user logs out of the website, the session id is then destroyed at both client and server end. ![]() If they are found equal, the user is responded with the webpage he requested. This session id is checked to the one in the database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |