Why I can't get the cookie from this web site when I can get it from google

public static void main(String[] args) throws Exception {
// I can get the cookie from "http://www.baidu.com"
// String domain1 = "http://www.baidu.com/";
// String domain2 = "www.baidu.com";
// I can get the cookie from "http://www.google.com"
// String domain1 = "http://www.google.com/";
// String domain2 = "www.google.com";
// I can not get the cookie from "http://www.csdn.net"
String domain1 = "http://www.csdn.net/";
String domain2 = "www.csdn.net";
URL url = new URL(domain1);
HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();
httpConn.setRequestProperty("User-Agent", "Internet Explorer");
httpConn.setRequestProperty("Host", domain2);
httpConn.connect();
String cookie = httpConn.getHeaderField("Set-Cookie");
System.out.println(cookie);
My question is: How can I get the cookie from the web site:http://www.csdn.net?

I found it in my computer , the location is: C:\Documents and Settings\zhijun\Cookies\zhijun@csdn[2].txt
and there are many characters, they are:
__utma
17226283.1339458738.1221633513.1223535733.1223539291.58
csdn.net/
1600
786595712
30107528
1029600608
29960677
__utmz
17226283.1223539291.58.57.utmccn=(organic)|utmcsr=baidu|utmctr=VB.NET%B2%BB%C4%DC+%B6%CF%B5%E3|utmcmd=organic
csdn.net/
1600
4189609856
29997389
1029910608
29960677
LastVisitedForum
b7e466c6-291a-4072-acee-15d2be78c647*b5f1380c-f04c-4682-861a-54357b14186a*0a4a010e-8694-4139-b91f-a4ee1374981b*caa7532e-956b-4661-a53f-d46e3f1a8187*8b327318-2c42-4a49-8aed-ef8c33697e7f
csdn.net/
1536
2105548800
29964700
960690608
29960677
userid
2018946
csdn.net/
1536
1900813440
29963485
771368976
29960669
__utmb
17226283
csdn.net/
1600
1849111424
29960681
1029760608
29960677
ABCDEF
X1rZPCiZupWekhlTu78xWhr2Oj5GmFwk0J%252b8COfIv7IvVh2PgEPu2V7ooeZuUnene2j%252fDKJsNnZWYBSQxVkTfunvGq%252fDYuzFALM0ugLUmppZAHgfUWgQ%252bziPRLLJyFdzUpHwfG%252fReU8SfFy588HH02NPWPsO8RjgtHym%252bcJdUOnIH5J%252bkPEj%252b%252bZwlSPb5u0M0mPQRU1gOScfY4b981MifF4ksep8sZp1Ro2ofGHIg6l%252bgJ0P0XFASz2cJU8Objo%252f
csdn.net/
1536
1900813440
29963485
770898976
29960669
QWERTOP
6695
csdn.net/
1536
1900813440
29963485
771058976
29960669
activeUserName
boxiuzhen
csdn.net/
1536
1900813440
29963485
771058976
29960669
UserName
boxiuzhen
csdn.net/
1536
1900813440
29963485
771058976
29960669
PName
542a00960558bf1690fe08696d1245f407130025d59bd14ad6430f
csdn.net/
1536
1900813440
29963485
771368976
29960669
Is this prove that the csdn web site which I  can not get the cookie is not using url-rewriting?

Similar Messages

  • How can I unlock the cookies for this web browser

    My web browser is locked and I need to unlock it to log in to a web acccount

    Sorry, but I'm not sure what you mean by "locked". Is that a message a web page is giving you, or a pop-up dialog, or ???
    If you want to delete the cookies that are currently in Firefox for Android, they are part of the "Clear Private Data" feature. See this article for detailed steps: [[Clear your browsing history and other personal data on Firefox for Android]].

  • Why does firfox not display the footer on my web site when IE9 does?

    I have made a web site, firfox does not display the whole page content... why wont it show the footer?
    http://home2.btconnect.com/kcaringagency/
    (test site)

    The footer is being displayed for me on Firefox 5.0 and 3.6.18 - to the right side of the rest of the page content.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Why am I only given the option to create a pdf when I want to convert from pdf to word document?

    Why am I only given the option to create a pdf when I want to convert from pdf to word document?

    Hi,
    If you have PDF pack subscription you can avail all of the services like export PDF,create PDF & etc.
    Otherwise you have to purchase every service individually.
    Regards,
    Florence

  • Why am I only given the option to create a pdf when I want to convert from pdf to word document? My plan is the PDF pack.

    Why am I only given the option to create a pdf when I want to convert from pdf to word document? My plan is the PDF pack it should do it ¡

    Hi,
    I checked your account,you have an active PDF pack.
    You need to click on Export PDF to convert from PDF to word document.
    Regards,
    Florence

  • Error while creating sites on entire site collection - the file you are attempting to save or retrieved has been blocked from this web site by server administrator

    Hi,
    I am trying to create a new sub site. Everytime I try to create the site I get this error:
    the file you are attempting to save or retrieved has been blocked from this web site by server administrator
    This applies to almost all site templates except the "blank site" template. I am logged in as System Administrator.

    Issue resolved!
    Don't know how but somehow, xml was added to the Blocked file types. Removing the entry did the trick.

  • Disable Java Security Warning: Allow access to the following application from this web site?

    Dear all,
    When I open web intelligence with BI launchpad, this warning has been shown:
    "The web site is requesting access and control of the Java application shown above. Allow access only if you trust the web site and know that the application is intended to run on this site.
    Allow access to the following application from this web site?"
    and it has just three button of "Yes", "No" and "Help".
    I go to Java Control Panel and Security tab, then set security level on the "Medium" and add my site in the Exception Site List but this warning is shown each time I open web intelligence.
    I have searched the internet very much but I haven't found any solutions for disabling of it. How can I disable this security warning?
    Java version 7 update 67
    windows XP
    SAP BusinessObject BI Platform 4.1 Support Pack 4 Patch 2
    best regards,

    Hello,
    We have the same issue with BI4.1 SP3 FP3.
    Can anyone help us ?
    Nawale.

  • How can I change the e-mail address that shows when I try to order from iBooks?

    Hi.  I recently had to change my e-mail address, and successfully changed my Apple ID to reflect the new e-mail.  However, while trying to order a book through iBooks today, I noticed that I was asked for my password and that my old e-mail was showing.  How can I change the old address to the new one so that I can order from iBooks?  Thank you.
    janiekhi

    Hi, fromsouth, and thank you for your reply.  When I go to store, there is no place that says "sign out" so I can't do this.  My old email is showing, and when I click on it I am asked for my password.  I tried my old password that I used with that email, but was told it was incorrect.  This is so frustrating!  I can't do any ordering on my iPad until this problem is solved.  Thanks again.
    janiekhi

  • How can I keep a cookie for a certain site when I have set Firefox to delete cookies when I close the browser?

    I have set Firefox to delete all cookies when I close the browser. Some websites identify my computer with a cookie, so when I try to log in to these sites, they don't recognize my computer because the identifying cookie has been deleted. I understand that Internet Explorer has a feature that preserves specified cookies, but haven't been able to find that capability in Firefox. Is there a way to do it?

    Let all cookies expire when you close Firefox.
    * Tools > Options > Privacy > Cookies: "Keep until": "I close Firefox"
    Make an Allow exception for the ones that you want to keep.
    * Tools > Options > Privacy > Cookies: "Exceptions"
    You can inspect and modify the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
    Make sure that you do not use "Clear Recent History" to clear the "Cookies" and the "Site Preferences" (Site Preferences includes the cookie exceptions)
    * https://support.mozilla.com/kb/Clear+Recent+History
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception.
    See also:
    * https://support.mozilla.com/kb/Cookies
    * https://support.mozilla.com/kb/Enabling+and+disabling+cookies

  • Can I shorten the time before Safari times out when it can't find a page?

    My problem is due to dismal service from Comcast.  In spite of numerous help calls and replacements of wires, modems, router, etc, I continue to have a problem where requests for web pages come to a dead end.  It happens because a URL I request isn't resolved into an IP, so I get "web page not found".  I eventually do get the page, but only after the browser completely times-out and I try again.  This happens on all the digital devices in my house. If I try the page again before the browser kicks out an error message, the second try doesn't work.  This is a Comcast problem, not a Mac problem, however, I do notice than on the several PCs in the house, the browser times-out much more quickly than Safari on my Mac. Is there a setting on the Mac or on Safari that will tell it to "give up" more quickly?  All the browsers on my PC quit after about 30 seconds but on the Mac it takes a couple minutes.  Is this something I can set?

    https://store.opendns.com/get/basic/
    Try it. It only takes a few minutes to set up.

  • HT1918 no matter wht i put in on the billing address is ses for assistance contact this web site so i cant get any app till this is fixed

    .

    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums, we won't know why you are getting the message) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I can't brows the list in this we site there is a problem in safari !

    I can't brows the list in safari i don't know what is the problem can you help me ?
    I need to print some significant file from this list, but i can not see all the list i need a help as soon as possible  

    as Apple say... " Note: If the Develop menu does not appear in the menu bar, open Safari preferences, click Advanced, and select “Show Develop menu in menu bar.” see image
    then the 'Develop' menu should appear with the others at the top of the screen.

  • HT4528 How do I get the answer if my security questions when I cannot get into recovery email (not email I use under my Apple ID)

    I am making the first purchase on my Apple ID and need to answer security questions that I do not remember the e mail I made the recover e mail I cannot get into... Therefore I cannot make purchases and one more wrong guess and I have my account locked so I have no way of making purchase. Please help

    1)  Apple ID: All about Apple ID security questions
    If necessary...
    2)  See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

  • The down key doesn't scroll the page on some web sites. How can I make it scroll on all web sites?

    Viewing these pages at suppose.mozilla.org in firefox 21, I can use the down key to scroll the down.
    However, this is not true for some web pages. For example, github pages :
    <https://github.com/bower/bower>
    pressing the down key no longer seems to scroll the page down. I've not tested it, but I'm fairly sure I used to be able to scroll with just the keyboard.

    Reading that 'scrolling with arrow keys no longer works' page, I notice that 'page down'. 'home' and 'end' also don't work - 'page up' works though.

  • Difficulties downloading content via ftp from some web sites

    I'm having difficulties ftp'ing content from some web sites when using my Airport Extreme (802.11n) base station. The AEBS is running firmware 7.3.2, is connected to a cable modem, and is configured in NAT mode.
    The inability to download is independent of any web browser, OS platform or FTP client). Here's what happens:
    For the following url: http://ftp.support.veritas.com/pub/support/products/NetBackupEnterpriseServer/305408.pdf
    downloading with Safari gives:
    The error was: “unknown error” (NSURLErrorDomain:-1)
    with Firefox: it just hangs the browser, no display
    with command line ftp:
    421 Service not available, remote server has closed connection.
    You get the idea. Windows has similar problems, so it isn't limited to the Mac OS.
    Other FTP sites work fine, and things seem to work fine when the system is directly connected to the cable modem. This has happened for a while, so it isn't limited to any recent Mac OS X Leopard updates. It's just gotten terribly annoying.
    Is something in the AEBS trying to interpret ftp protocol responses from servers while in NAT mode (and breaking them) instead of passing them through?

    I don't think we're alone, but no one seems to have an answer. This thread seems to be a user having the same problem:
    http://discussions.apple.com/thread.jspa?threadID=1855814
    I'll keep working at a solution and will post if I can find one.

Maybe you are looking for

  • How can i achieve tis in Bex Query Designer

    Hi Experts, Please advise on how can i achieve this in Query. I got Location,Material_ID,Price and Change_Date. (Change_Date is defined as both CHAR & KF in cube) (Change date is on monthly basis they execute a programe in non sap source system to up

  • Trying to access website but it says Adobe Flash Player not installed

    www.caesars.com/thelinq  live webcam I have Windows 7, 64 bit with IE 1,0 32 bit.  Flash Player 11.9.900.170. Have been through the troubleshooting list several times but can't get this website to access Flash Player. FP seems to work everywhere else

  • Mercury Transmit breaks greater than 1920x1080 external monitoring

    Hi all, In Adobe CC in Quicktime Preview, there is an option to "Scale and Letterbox Output to Fit Video Monitor" in the Video Preview preferences.  This enables the ability to monitor 2K and 4K footage on hardware (in my case the Blackmagic Mini Mon

  • Can't Switch PB Devices

    I bought a new 32 gig PB (couldn't resist the $149 price at WalMart and The Source) to replace my 16 gig PB however I can't move my Apps and Settings to the new PB. I get the error message "Software version is lower than original device". Checking fo

  • Help! re bounced emails

    I am relieved to know that today's email outage is over. However I have heard from customers that messages they sent to me during the outage were bounced with this error: "550 5.1.1 unknown or illegal alias" I'm okay with the customers who contacted