WTVP/Processes/Obtaining a new wtv-ticket

From WebTV Wiki
Jump to navigation Jump to search
WTVP
OverviewList of WTVP ServicesWTVP-specific Content-TypesStatus Codes
Concepts
TokensTicketsCapability Flags
Headers
Header ListData TypesCommon Request Headers
Processes
First-Time RegistrationHeadwaiter (Login)Messenger ServicesFavoritesChecking for new mailRetrieving settingsObtaining new wtv-ticketsSmart CardMiscellaneous
URLs for WTVP Services
wtv-1800wtv-aroundtownwtv-authorwtv-centerwtv-chatwtv-contentwtv-cookiewtv-customscriptwtv-diskwtv-epguidewtv-favoritewtv-flashromwtv-guidewtv-head-waiterwtv-homewtv-introwtv-logwtv-mailwtv-newswtv-noticeswtv-partnerwtv-passportwtv-registerwtv-setupwtv-smartcardwtv-spotwtv-starwtv-trickswtv-tutorial

If the WebTV/MSN TV service for some reason feels that the client should get a new ticket (only observed when linking a Passport account to your WebTV/MSN TV account or enabling Messenger), in any given response the service will inject a Location header to point the client to go to the service URL "wtv-head-waiter:/new-ticket?URL=...", with the "URL" parameter pointing to a target URL the client should go to after successfully obtaining a new ticket. The response from that URL includes a wtv-challenge and it is assumed the WTVP challenge/response method is utilized in this scenario. The wtv-challenge-response is sent in a request to "wtv-head-waiter:/new-ticket-stage-two?URL=...", passing the same "URL" parameter as the one sent with the first "new-ticket" URL. The response includes a new wtv-ticket and a Location header pointing to the URL passed in the query parameters of the previous requests.

"new-ticket"

GET wtv-head-waiter:/new-ticket-wtv-token-XXXXXXXXXX-YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY?URL=wtv-passport%3A%2Fpassport-serve-create-done-wtv-token-...\r\n
Referer: wtv-passport:/passport-submit-create-wtv-token-832114946-9EDA23817244DAEFB65B08DA13E0031B?passthrough=&user-password=...\r\n
wtv-show-time: 0\r\n
wtv-request-type: primary\r\n
wtv-system-cpuspeed: 166164662\r\n
wtv-system-sysconfig: 3116068\r\n
wtv-disk-size: 8006\r\n
wtv-incarnation: 37\r\n
wtv-client-address: 0.0.0.0\r\n
Accept-Language: en-US,en\r\n
wtv-ticket: {wtv-ticket}\r\n
wtv-connect-session-id: cafa1349\r\n
wtv-client-serial-number: {SSID}\r\n
wtv-system-version: 16276\r\n
wtv-capability-flags: {capability-flags}\r\n
wtv-client-bootrom-version: 2046\r\n
wtv-client-rom-type: US-LC2-disk-0MB-8MB\r\n
wtv-system-chipversion: 53608448\r\n
User-Agent: Mozilla/4.0 WebTV/2.8.2 (compatible; MSIE 4.0)\r\n
wtv-encryption: true\r\n
wtv-script-id: 184867725\r\n
wtv-script-mod: 1579644943\r\n
\r\n
302 Moved temporarily\n
Connection: Keep-Alive\n
Expires: Wed, 09 Oct 1991 22:00:00 GMT\n
wtv-challenge: YMWMeFQZp76wRK0nU1nyzMYpzFL9L5Zf4PSQ/D2HxDIFGDG...\n
Location: wtv-head-waiter:/new-ticket-stage-two-wtv-token-XXXXXXXXXX-YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY?URL=wtv-passport%3A%2Fpassport-serve-create-done-wtv-token-...\n
\n

"new-ticket-stage-two"

GET wtv-head-waiter:/new-ticket-stage-two-wtv-token-XXXXXXXXXX-YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY?URL=...\r\n
Referer: wtv-head-waiter:/new-ticket-wtv-token-XXXXXXXXXX-YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY?...\r\n
wtv-show-time: 0\r\n
wtv-request-type: primary\r\n
wtv-system-cpuspeed: 166164662\r\n
wtv-system-sysconfig: 3116068\r\n
wtv-disk-size: 8006\r\n
wtv-incarnation: 37\r\n
wtv-challenge-response: YMWMeFQZp75kpo8jIEPBlj345PdO/fwDsEStJ...\r\n
wtv-client-address: 0.0.0.0\r\n
\r\n
302 Moved temporarily\n
Connection: Keep-Alive\n
wtv-bypass-proxy: true\n
wtv-allow-dsc: true\n
wtv-messenger-authorized: 0\n
wtv-messenger-enable: 0\n
wtv-messenger-server: messenger.hotmail-int.com\n
wtv-offline-user-list: PHVzZXItbGlzdD4KPHVzZXI...\n
wtv-ticket: {new wtv-ticket}\n
Location: wtv-passport:/passport-serve-create-done-wtv-token-...\n
\n