Created
March 2, 2016 17:20
-
-
Save benwillkommen/0beb6c97a20725be26e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$basketGetResponse = Invoke-WebRequest -uri ("http://$server/home/sessionid") -SessionVariable session | |
$basketGetResponse.Content | |
while($true){ | |
$basketGetResponse = Invoke-WebRequest -uri ("http://$server/home/sessionid") -WebSession $session | |
$basketGetResponse.Content | |
Start-Sleep 2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string SessionId() | |
{ | |
return Session.SessionID; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment