Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Cookies

Cookies

Scheduled Pinned Locked Moved ASP.NET
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manish m meshram
    wrote on last edited by
    #1

    Hello I want to access cookies on my client machine through my web application. With Best Regards

    A L A 3 Replies Last reply
    0
    • M manish m meshram

      Hello I want to access cookies on my client machine through my web application. With Best Regards

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      manish.m.meshram wrote:

      I want to access cookies on my client machine through my web application.

      Beginner's Guide To ASP.NET Cookies[^]

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      1 Reply Last reply
      0
      • M manish m meshram

        Hello I want to access cookies on my client machine through my web application. With Best Regards

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        hi add into cookie

        Response.Cookies.Add(loginUserName)
        Response.Cookies("UserName").Expires = DateTime.Now.AddDays("1")

        and while retrieving

        txthost.Text = Request.Cookies("hostAddress").Value

        Amit Patel

        1 Reply Last reply
        0
        • M manish m meshram

          Hello I want to access cookies on my client machine through my web application. With Best Regards

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          Provided you can access the cookie only created by your webserver. Means you cant access cookies placed by www.google.com.. :-D

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups