Re: How to retain IIS session ? - WeOnlyDo Discussion board

Re: How to retain IIS session ? (General questions)

by Don, Sunday, March 08, 2009, 03:20 (5739 days ago) @ wodSupport

Using
[code]
objHTTP.request.Headers.Add mid(name,6,len(name)-5), & Request.ServerVariables(name) &
[/code]

will add
[code]
ACCEPT: */*
ACCEPT_LANGUAGE: en-us
CONNECTION: Keep-Alive
HOST: www.abcabc.ca
USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)
ACCEPT_ENCODING: gzip, deflate
COOKIE: COOKIE=__utma=105469855.3621766672865152000.1227122525.1227122525.1227122525.1; __utmz=105469855.1227122525.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ASPSESSIONIDQADTBCCD=BDDDFNCBDBGGJOCFGOJNECFH;
[/code]

Using
[code]
objHTTP.request.Headers.Add mid(name,6,len(name)-5), Request.ServerVariables(name)
[/code]

will add no values (and I have confirmed values are being passed)
[code]
ACCEPT:
ACCEPT_LANGUAGE:
CONNECTION:
HOST:
USER_AGENT:
ACCEPT_ENCODING:
COOKIE:
[/code]


Complete thread: