p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: AspTear and cookies


Message #1 by "Walter Burrough" <lists@c...> on Thu, 15 Mar 2001 16:35:32 -0000
Yes, but they can't help this week (holidays).
Just thought I'd ask the group in case anyone could see what I was doing
wrong.
Walter

> -----Original Message-----
> have you attempted to contact the vendor?
>
>
> At 11:35 AM 3/15/01, you wrote:
> >Hi,
> >I'm having trouble adding COOKIE headers to an AspTear request.
> Can anyone
> >help? I've been trying it out calling an asp page that writes out the
> >ServerVariables collection so that I can see what's happening.
> >What's very odd is that I seem to be able to add any header
> EXCEPT a cookie
> >header. Here's my code:
> >---------------
> >Const Request_GET = 2
> >strHTTPPage = "http://aserver.com/page.asp"
> >Set xobj = CreateObject("SOFTWING.ASPtear")
> >xobj.forcereload = true
> >xobj.AddHeader "COOKIE","fromasptear=NAME=value; path=/"
> >strRetVal = xobj.retrieve(strHTTPPage, Request_GET, "", "", "")
> >----------------
> >strRetVal comes back with the output of page.asp (which is the
> >servervariables collection) and the only cookie there is the
> aspsessionId.
> >
> >If I call the header a BISCUIT instead of a cookie, there's an
> HTTP_BISCUIT
> >header with the right contents. So the aspTear _can_ add a
> header, it just
> >doesn't seem to do it.
> >
> >Any ideas?
> >Thanks,
> >walter
> >
> 

  Return to Index