how to "get" and "use" PHPSESSID Cookie ?

how to "get" and "use" PHPSESSID Cookie ?

Postby Jimmy » Mon Feb 20, 2023 9:19 am

hi,

when visit a Forum using phpBB you get a Cookie after login

in my Forum-Reader App i do not "login" just URL

Code: Select all  Expand view
  cURL := "https://forums.fivetechsupport.com/viewtopic.php?t=42811&"

FUNCTION DownloadFromWWW( cURL, cFile, nThreadNo )
LOCAL oHttp     := Win_OleCreateObject( "MSXML2.ServerXMLHTTP" )
   BEGIN SEQUENCE
      oHttp:Open( "GET", cUrl, .F. )
      oHttp:setRequestHeader( "User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0" )

      oHttp:Send()


Question :
1.) how to include "Login"
2.) how to use Session ID from PHPSESSID Cookie
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests