Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1059503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:10:57+00:00 2026-05-16T18:10:57+00:00

Am using Silverlight 4 hosted in an ASP.NET MVC page, e.g. http://test.example.com/main . I

  • 0

Am using Silverlight 4 hosted in an ASP.NET MVC page, e.g. http://test.example.com/main. I make a call to the server from Silverlight using WCF and get some values back. One of these values I write as a cookie using:

HtmlPage.Document.SetProperty("cookie", newCookie);

I can then view the cookie text using:

MessageBox.Show(HtmlPage.Document.Cookies);

I can see various cookies, including the one I just created, so looks like it was created ok.

From within the SL app, I display some hyperlinks. When the user clicks on this it will display the link in a new browser window. The links go to the same domain, e.g. http://test.example.com/viewdoc?1233

The new cookie that was created is not being passed in the request. The other cookies that were originally there are being passed. I don’t see how its a crossdomain policy issue since they are going to the same domain. It doesn’t matter what browser I use (Safari, Firefox, IE8, IE6), they all exhibit the same problem, so it doesn’t seem to be an IE8 issue that I saw on other similar issues.

So where is my cookie going?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:10:58+00:00Added an answer on May 16, 2026 at 6:10 pm

    Verify that the path property of the cookie is not set to certain page only:

    The path parameter is potentially the
    most useful of the 4 optional cookie
    settings. It sets the URL path the
    cookie is valid within. Pages outside
    of that path cannot read or use the
    cookie. If Path is not set explicitly,
    then it defaults to the URL path of the
    document creating the cookie.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: My general portal is hosted in IIS using ASP.NET and a login page.
Hi I am using http://silverlightpdf.codeplex.com/ code to print pdf from my silverlight application hosted
My Silvrlight 4 application hosted in ASP.NET MVC 2 working fine when used through
I have a Silverlight application using a WCF service hosted in IIS. I make
We're using silverlight on our SharePoint site. When someone navigates to the page containing
WCF-service is hosted by ASP.NET web-site. ASP.NET Membership is not used in web-site. User
I have a Silverlight 4 client running on a Facebook page hosted on Google
I have this setup that works perfectly when using http. A silverlight 3 client
Following the walkthrough at http://msdn.microsoft.com/en-us/library/ee707351(v=VS.91).aspx I have a working Silverlight solution that employs a
I have hosted my silverlight service on the server. I have created a client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.