all groups > vj# > december 2003 >
You're in the

vj#

group:

Changed behaviour of Urlconnect in j# browser control



Changed behaviour of Urlconnect in j# browser control malcolm b
12/30/2003 9:09:59 AM
vj#: Hi,
I am looking at porting an J++ applet to j# browser
controls.

The applet uses UrlConnection to talk to an http server.

In the j++ version it can process cookies on the server
side - however in the J# browser controls it seems to
lose the cookie. It appears the connection is no longer
sending cookies by default - has anybody else come across
this?

I could get round this by using scripting to read cookie
info - but scripting not support in 1.1 j# browser
controls.

Does anybody know how to read cookies in j# browser
control?

Many thanks,

Malcolm

RE: Changed behaviour of Urlconnect in j# browser control rlacas NO[at]SPAM online.microsoft.com
1/5/2004 7:20:14 PM
Hello - Please provide more info about how you are doing this in VJ++ and I
will have a look.

The System.Net.Cookie class is what you would use, if you want to
workaround it that way.

http://msdn.microsoft.com/en-us/cpref/html/frlrfsystemnetcookieclasstopic.as
p

[quoted text, click to view]

Bob LaCasse
Microsoft Developer Support - Visual J#.NET

This posting is provided AS IS with no warranties, and confers no rights.
AddThis Social Bookmark Button