SetCookie: Tell me I'm just Dense! 
Author Message
 SetCookie: Tell me I'm just Dense!

This is driving me up a wall!

I need to know how to set a Non-Persistent cookie with the Winsock
Control in VB6. I can't use InternetSetCookie because it runs through
IE, several users can't use IE due to Security Settings so I have to use
the Winsock Control.

I can't use the Inet Control because it pukes on some of the Perl
Scripts I'm pulling (Error: Type Mismatch).

The only alternative would seem to be using the Winsock Control by
sending a "SetCookie:" header to the HTTP Server (Apache). I can't seem
to get this right!

Here's the servers response after sending the login script, it's just
the header part of the page:

HTTP/1.1 200 OK
Date: Fri, 21 Jan 2000 07:04:28 GMT
Server: Apache/1.3.4 (Unix)
Cache-Control: private
Set-Cookie:
NAME=33T2HIGOV0G9OH5C9RL2V7QSTCKPG8VM9IDIRVP7PKBVQ9UD2RVIFJONVSHSQ6UM0;
Path=/; DOMAIN=www.foobar.com;
Connection: close

If I return the a header with the text from "Set-Cookie:" down, I get an
error 400 "Bad Request, I think".

Any help would be greatly appreciated! Thanks!



Tue, 09 Jul 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. help: text justed in reports access

2. ActiveX / MSIE SetCookie Pointer needed

3. TextWidth - Am I dense?

4. How to tell what OCX's and DLL's are registered

5. I must be dense today

6. asyncread doesn't tell if file doesn't exists

7. How to tell when all a form and all it's elements are done loading

8. Don't tell me no one knows the answer

9. No active X Controls in VB.NET TELL ME IT ISN'T SO

10. tell me it's not true!

11. XML....I've just been told that

12. Visual Basic Help File telling Porky's??

 

 
Powered by phpBB® Forum Software