ASP Net Session cookie (General questions)
by jameswink, Friday, January 06, 2006, 14:41 (6895 days ago)
I get the header for the cookie and the cookie. But when I add the cookie to the request and post or get the next URI, It does not accept me.....
Re: ASP Net Session cookie
by wodSupport, Friday, January 06, 2006, 15:07 (6895 days ago) @ jameswink
James,
can I see your code, with exact page you're accessing? It's hard to tell anything without example on what's going wrong.
Thanks.
Re: ASP Net Session cookie
by jameswink, Friday, January 06, 2006, 15:49 (6895 days ago) @ wodSupport
'This is where I call the page...
Set Http1 = New wodHttpDLXCom
Http1.Timeout = 5
Http1.Blocking = False
Http1.AutoRedirect = True
Http1.URL = http://parmls.com/
Http1.Login = 1234
Http1.Password = password
Http1.Request.UserAgent = Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Http1.Get
'Then when processing the response on Done I do...
For Each oldcookie In Http1.Response.Cookies
strCookieName = oldcookie.Name
strCookieValue = oldcookie.Value
objTXT.WriteLine Name: & oldcookie.Name & Value: & oldcookie.Value
'Function that holds all cookies in a collection for me
AddCookie(strCookieName, strCookieValue)
Next
Re: ASP Net Session cookie
by jameswink, Friday, January 06, 2006, 15:51 (6895 days ago) @ jameswink
I also noticed that I only get 1 cookie back with httpDLX
When I look at the cookies using firefox, they are showing me getting several cookies back.
Thanks in advance for looking at it..
I can provide you a login and password for the site, but I would rather not provide that in the Forum.
Re: ASP Net Session cookie
by wodSupport, Friday, January 06, 2006, 15:54 (6895 days ago) @ jameswink
James,
I still don't see anything to try with. Did you try to copy all cookies from previous (1st) response to next (2nd) request? You can find code at
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~HttpResponse~Cookies.html
if this still doesn't help, can you send me your username/password to techsupport@weonlydo.com so I can try on live system?