Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 28th, 2008, 08:38 AM
Authorized User
 
Join Date: May 2008
Location: , , India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cookie

How to find an existing cookie in a system and how to use that in my application.

Any ideas....plz welcome..

Thanx in Advance.

 
Old May 28th, 2008, 09:34 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Usually, you get the cookie from the Request.Cookies collection.

-Peter
compiledthoughts.com
 
Old May 29th, 2008, 03:46 AM
Authorized User
 
Join Date: May 2008
Location: , , India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for ur reply..but i dont know the cookie name.

so how can i find the location of cookie in my system and use it in my application.

 
Old May 29th, 2008, 11:26 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Generally you don't use cookies that you didn't create.

You can iterate through the cookies collection to see what cookies have been passed with the request. But again, they will generally only be cookies that you created in your application.

-Peter
compiledthoughts.com




Similar Threads
Thread Thread Starter Forum Replies Last Post
Cookie problem ps0208 Servlets 1 November 5th, 2007 05:55 AM
cookie check. rupen Javascript 1 May 30th, 2005 12:51 AM
Cookie Trouble.. smeggy31 Classic ASP Professional 1 June 22nd, 2004 03:13 PM
Cookie deleting value andybeh ASP.NET 1.0 and 1.1 Basics 0 June 4th, 2004 12:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.