|
-
August 18th, 2003, 02:45 PM
#1
set browser id
hello
i wrote a program that post some data to a server. the server response only if the correct browser identification was transmitted - i think so is this realy possible that a server dont send information if no browser id available or the wrong one?
however please tell me how can i set the browser id? i use the webclient class:
WebClient wc = new WebClient();
wc.Headers.Add("Content-Type","application/x-www-form-urlencoded");
and so on...
-
August 19th, 2003, 04:10 AM
#2
user-agent
i have a new keyword for my problem:
"user-agent". if i post information to the server i have to set the user-agent. how can i do this? any ideas?
-
August 20th, 2003, 02:41 AM
#3
ok, if no one want to answer i do it myself ;-)
Webclient wc = new Webclient();
wc.Headers.Add("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|