Search the Community
Showing results for tags 'cookies'.
Hello , A website I am trying to login with my credentials. And retrieve the cookie into a text file. Unable to do so. Is it that certain, Httponly , type - are not allowed to be fetched. Then further , I will be checking every 5 minutes if my session is active , else re-login and re-fetch the cookie. For the second part , I will probably fetch some table and see if not in appropriate format do Part 1 : Fetch Cookie - again. Any better way , tips would be appreciated. Thanks
Hi everyone! i have Two-Problems: I've used this code to decode and export cookies from Google Chrome application's "C:\Users\%username%\AppData\Local\Google\Chrome\User Data\Default\Cookie" file but i can't receive any data: #include <CryptProtect.au3> #include <SQLite.au3> #include <SQLite.dll.au3> Global Const $g_sLoc_Output = @ScriptDir & "\Cookies.txt" If FileExists($g_sLoc_Output) Then FileDelete($g_sLoc_Output) EndIf $hFO_Output = FileOpen($g_sLoc_Output ,1) If $hFO_Output <> -1 Then FileWrite($hFO_Output, Chrome()) Fi
Hi All, I'm trying to write a small program that automatically logs on to a website using a username and password provided and screenshots the front page (I've checked and this is not against the site's rules). I have the script working using _IECreateEmbedded(), however for some reason the user stays logged in on the website even after I restart my machine. I will be creating a way to actually sign out of the website as well, however to me this implies that some where cookies/sessions are being stored which I do not wish to happed. So is there any way I can flush the cookies/sessions crea
I'm trying to first get a cookie and then replace a certain server Id with a new one. This is to test each application server for our internal application. The following is my function of interest: Func checkAppServer($id) debug("checking app server for id " & $id) ;access application with app server cookie ShellExecute("iexplore.exe", "about:blank") WinWait("Blank Page") Local $oIE = _IEAttach("about:blank", "url") _IELoadWait($oIE) _IENavigate($oIE, "https://application.example.com") If @error Then alert("Login checker failed to access application.") Return EndIf ;get the document