Multiple Session HTTP

03/11/2016 14:21 iGerald#1
Hello guys,
I am interested on getting started on C++ to make a LOGIN or just a page visiting bot,
Example: 3 Different cookie sessions, Load the same page but 3 Times with a diff cookie, in order.
Is there any way to prepare this kind of function on C++ ? Kinda separating cookies & using them on order to visit X.com page or if not, is there any other way to POST(login) + Visit & Load Page + Logout & Repeat?

If someone could help me with this i'd marry him :) :) ..

Outta jokes, i'd really appreticate it.
Thank you.
03/11/2016 14:28 warfley#2
Cookies (like the session Cookie) are just strings in the HTTP header. Either use an HTTP class that already implements Cookie Managers or use a base HTTP class which let's you access the Headers, both works and Cookie management isn't really hard. I don't know a lot about of C++, but i think boost should provide the functionality you are seeking
03/12/2016 22:05 MrDami123#3
You can have as many sessions as you like. You can set/manipulate every part of the request (cookies, headers, parameters, post data). There may be a server-side limitation on how many logged-in session from the same IP adress you can have.