Professional Web Applications Themes

Reading cookies from different servers - ASP.NET General

Hi, We have different web sites e.g www.abc.com, www.xyz.com I want to read cookies written by www.abc.com from www.xyz.com and vice versa. Please advise. Thanks AQ....

  1. #1

    Default Reading cookies from different servers

    Hi,

    We have different web sites e.g www.abc.com, www.xyz.com I want to read
    cookies written by www.abc.com from www.xyz.com and vice versa. Please
    advise.

    Thanks
    AQ.


    Abdul Guest

  2. #2

    Default Re: Reading cookies from different servers

    For security reasons, I don't think you can.

    The topmost level you can write a cookie - is at the domain level. So if you
    specified a cookie was for "abc.com" - any page and any subdomain could read
    that cookie, but no one else could.

    If you are working with another company, you should setup a common
    subdomain. For example, if you are at www.abc.com - and your vendor is
    www.xyz.com - they should setup a web server and call it xzy.abc.com - so
    then they can write cookies and you can read them (because they are from the
    same domain) - and vice versa.

    But you can't just read anyone elses cookies.. Imagine, you could go read
    the cookies for my automatic login to EBay or my bank... that would be bad..

    "Abdul Qadir Khan" <com> wrote in message
    news:ey0q$phx.gbl... 


    Frank Guest

  3. #3

    Default Re: Reading cookies from different servers

    What you can do is save the information ( that you put in a cookie and wants
    to share between domains ) in a SQL Server Database that way you can get
    to the data you want. You will have to do more work here however.

    "Abdul Qadir Khan" <com> wrote in message
    news:ey0q$phx.gbl... 


    MS Guest

Similar Threads

  1. Frontend Web Servers connect to Coldfusion Servers
    By Trensic in forum Coldfusion Server Administration
    Replies: 2
    Last Post: December 13th, 04:20 PM
  2. asp.net: reading cookies
    By darrel in forum Dreamweaver AppDev
    Replies: 3
    Last Post: August 27th, 12:58 AM
  3. Reading Cookies (Tough one!)
    By Brandon in forum ASP Components
    Replies: 0
    Last Post: November 21st, 06:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139