473,396 Members | 2,158 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,396 software developers and data experts.

Windows Form App Collecting cookies

How would you access a cookie value from a windowsform?

This is how I do it from asp.net:

If Not Request.Cookies("RunNodeReport") Is Nothing Then

Response.Write(Request.Cookies("RunNodeReport").Va lue.ToString)
End If

Nov 21 '05 #1
12 2127
"pmclinn" <pm*****@gmail.com> wrote in news:1119385331.326953.5400
@g43g2000cwa.googlegroups.com:
How would you access a cookie value from a windowsform?


What cookies? WindowsForms have no concept of cookies.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
Nov 21 '05 #2

if you mean viewing coockies from websites in a winform app

well this can be done ,,,,, i do know of a vb6 app wich is availlable in
source that can do exactly that

http://www.karenware.com/powertools/ptcookie.asp

you can see how Karen did it an write your own .Net version

it should not be so difficult


"pmclinn" <pm*****@gmail.com> wrote in message
news:11********************@g43g2000cwa.googlegrou ps.com...
How would you access a cookie value from a windowsform?

This is how I do it from asp.net:

If Not Request.Cookies("RunNodeReport") Is Nothing Then

Response.Write(Request.Cookies("RunNodeReport").Va lue.ToString)
End If

Nov 21 '05 #3
Yes I mean Windows form collecting a web cookie.

Anyone have .net examples?

Nov 21 '05 #4
"pmclinn" <pm*****@gmail.com> wrote in news:1119391786.916002.59310
@o13g2000cwo.googlegroups.com:
Yes I mean Windows form collecting a web cookie.


But from where? What is your applications connection to the web? To the users locally installed
web browser? or?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
Nov 21 '05 #5
I want to write a program that scans the local computer and searches
for the cookie named: RunNodeReport

Nov 21 '05 #6
Once I can grab one cookie I'll be able to do the rest.

Nov 21 '05 #7
Yes I mean Windows form collecting a web cookie.

Anyone have .net examples?

Nov 21 '05 #8
"pmclinn" <pm*****@gmail.com> wrote in news:1119391786.916002.59310
@o13g2000cwo.googlegroups.com:
Yes I mean Windows form collecting a web cookie.


But from where? What is your applications connection to the web? To the users locally installed
web browser? or?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
Nov 21 '05 #9
I want to write a program that scans the local computer and searches
for the cookie named: RunNodeReport

Nov 21 '05 #10
Once I can grab one cookie I'll be able to do the rest.

Nov 21 '05 #11
So, has anyone been able to import cookies from a local client?

Nov 21 '05 #12
"pmclinn" <pm*****@gmail.com> wrote in news:1119392650.153247.249410
@z14g2000cwz.googlegroups.com:
I want to write a program that scans the local computer and searches
for the cookie named: RunNodeReport


You'll need to access the cookie store on the users computer. IE and Mozilla/Firefox store them
differently though.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 21 '05 #13

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

Similar topics

2
by: TJ Talluto | last post by:
Hi, I'm using the curl functions in php to scrape the wan ip address from my home router (the router is an SMC product). This is a two step process: 1. post the password value to the login.htm...
9
by: Dave Martin | last post by:
I've successfully used CURL to maneuver around and through sites but a new site I've been trying to work with has got me stumped. To retrieve the data I'm trying to get a login is required. If...
4
by: vishal | last post by:
i am running php script which creates session and stores some value in session variables. then this file calls the another php script which displays the values stored in session variables. as...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
6
by: Rippo | last post by:
I have a problem with the application_error event being fired from my asp.net application with windows 2003 server standard edition. The event fires fine from my test machine (XP) and all works...
2
by: Xpou | last post by:
Hi, I have a windows form app which makes post httpwebrequests to the same pages of the same web site several times. This web site generates a "phpsessid" which is a session id residing in...
2
by: pmclinn | last post by:
How would you access a cookie value from a windowsform? This is how I do it from asp.net: If Not Request.Cookies("RunNodeReport") Is Nothing Then ...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
1
by: geckobtz | last post by:
Hi Guys, I am trying to build a page in ASP/MSsql with the aid of dreamweaver, the page contains total of 6 Questions, each question has 3 choices, of which one of the choice contains the right...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.