GrabzIt provides two main ways of doing this via a login web service or by specifying your own session cookie.
To do this pass the all of the cookies involved in a user’s session using the
$sessionValue = $_COOKIE['PHPSESSID']; $grabzIt->SetCookie('PHPSESSID', 'example.com', $sessionValue); $grabzIt->URLToImage('http://example.com/dashboard.php'); $grabzIt->Save('http://example.com/handler.php');
In this example we are assuming there is only one cookie involved in the user's session called PHPSESSID, however there could be more than one and could be named differently. It all depends on how you have created your website. One way to debug any cookie issues, by signing into the target website and use the browsers built in developer tools, to do this in the Chrome browser just press F12. Then identify the websites session cookie and add name, domain and value of this cookie to GrabzIt by using the 맞춤 쿠키 페이지, 세션 쿠키가 삭제되지 않도록 만료일을 장기간 사용하는 것이 좋습니다.
This login method will only work if the web page you want to capture is the web page directly after the login screen or if the website provides a redirect URL that the browser will follow after login is complete.
Some web pages use basic authentication were the browser asks the user to authenticate themselves before displaying the page. GrabzIt enables you to screenshot these web pages by specifying your basic authentication credentials.