473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Cookies with webclient

how do you get a webclient to maintain a session? I am trying to access a
classic asp page which uses cookies, so I need the webclient to maintain the
cookie to keep my session active... thanks!
Jan 4 '07 #1
1 3314
"Smokey Grindel" <no****@nospam.comschrieb:
how do you get a webclient to maintain a session? I am trying to access a
classic asp page which uses cookies, so I need the webclient to maintain
the cookie to keep my session active...
Check out the code samples on the page referenced below:

<URL:http://dotnet.mvps.org/dotnet/code/net/#CookieRequest>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Jan 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: HaAwK | last post by:
here is the code, basically: ---------------------- Dim HTMLString As String Dim WebClient As New System.Net.WebClient() Dim querystring As New...
6
by: sd | last post by:
Hello: I have smart client app which needs to access a "forms authentication" protected website for certain functions. Thre credentials used to login to smart client are the same as the...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
1
by: Mike Markiewicz | last post by:
I would like to use WebClient on a page that requires a login before it can be viewed. I want to be able to log in with IE and run my application from there. Is there a way, using...
1
by: Mad Scientist Jr | last post by:
For some reason I can't get a WebClient to access an outside URL from behind our firewall. The code works when it runs outside the firewall. I turned on windows authentication in the web.config...
0
by: Bishop | last post by:
I'm trying to push the site a cookie, then read a page. Below is an example that demonstrates the problem I'm having. This is my ASP.NET page code: ***** CODE ***** Protected Sub...
6
IonutZ
by: IonutZ | last post by:
Hi guys, This is what I'm trying to achieve: Login to Facebook via system.net I've already achieved login through AxWebBrowser... but then I don't know how to disable sound / images /...
1
by: Nathan Laff | last post by:
Can i make HttpWebRequest use the cookies already saved from Internet Explorer? Or, if not, how can I make it, or WebClient log into a web resource with a login form on the page.
2
by: MichaelSchoeler | last post by:
Hi, I'm having problems with the WebClient class regarding UTF-8 encoded data. When I access a specific webservice directly I can see the data arrives in corretly formatted UTF-8. But when I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.