Re: How to retain IIS session ? (General questions)
I grabbing from ASP the current header items and passing them to HttpDLX.
I can not pass HTTP_ to the COM, otherwise it returns on the other side as HTTP_HTTP_HOST and not HTTP_HOST. Thus, I have to remove HTTP_ from the original header item name.
[code]
For Each name In Request.ServerVariables
'capture only HTTP_ header items
if left(name,5) = HTTP_ then
'strip HTTP_ from header item name
varName = mid(name,6,len(name)-5)
'repace _ with - for header add by HttpDLX
varName = replace(varName, _ , - )
if name = HTTP_COOKIE then
'capture cookie items from header for header add by HttpDLX
cookieStr = cookieStr & name & = & Request.ServerVariables(name) & ;
'add cookie item
objHTTP.request.Cookies.Add Request.ServerVariables(name) &
else
'add header item to HttpDLX
objHTTP.request.Headers.Add varName, & Request.ServerVariables(name) &
end if
end if
Next
'add header cookie items to HttpDLX
objHTTP.request.Headers.Add COOKIE , & cookieStr &
[/code]
Complete thread:
- How to retain IIS session ? - Don, 2009-03-07, 20:26
- Re: How to retain IIS session ? - wodDamir, 2009-03-07, 21:08
- Re: How to retain IIS session ? - Don, 2009-03-07, 21:25
- Re: How to retain IIS session ? - wodDamir, 2009-03-07, 21:29
- Re: How to retain IIS session ? - Don, 2009-03-07, 21:52
- Re: How to retain IIS session ? - wodDamir, 2009-03-07, 22:11
- Re: How to retain IIS session ? - Don, 2009-03-07, 23:26
- Re: How to retain IIS session ? - Don, 2009-03-08, 01:17
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 01:22
- Re: How to retain IIS session ? - Don, 2009-03-08, 01:46
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 01:50
- Re: How to retain IIS session ? - Don, 2009-03-08, 02:15
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 02:19
- Re: How to retain IIS session ? - Don, 2009-03-08, 02:26
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 02:28
- Re: How to retain IIS session ? - Don, 2009-03-08, 02:33
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 02:38
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:11
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 03:14
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:20
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 03:23
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:50
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:51
- Re: How to retain IIS session ? - wodDamir, 2009-03-08, 06:15
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 13:00
- Re: How to retain IIS session ? - wodDamir, 2009-03-08, 06:15
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:51
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:50
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 03:23
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:20
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 03:14
- Re: How to retain IIS session ? - Don, 2009-03-08, 03:11
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 02:38
- Re: How to retain IIS session ? - Don, 2009-03-08, 02:33
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 02:28
- Re: How to retain IIS session ? - Don, 2009-03-08, 02:26
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 02:19
- Re: How to retain IIS session ? - Don, 2009-03-08, 02:15
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 01:50
- Re: How to retain IIS session ? - Don, 2009-03-08, 01:46
- Re: How to retain IIS session ? - wodSupport, 2009-03-08, 01:22
- Re: How to retain IIS session ? - Don, 2009-03-08, 01:17
- Re: How to retain IIS session ? - Don, 2009-03-07, 23:26
- Re: How to retain IIS session ? - wodDamir, 2009-03-07, 22:11
- Re: How to retain IIS session ? - Don, 2009-03-07, 21:52
- Re: How to retain IIS session ? - wodDamir, 2009-03-07, 21:29
- Re: How to retain IIS session ? - Don, 2009-03-07, 21:25
- Re: How to retain IIS session ? - wodDamir, 2009-03-07, 21:08