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 4612774
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:26:59+00:00 2026-05-22T01:26:59+00:00

I have an ASP.NET 4 site with url’s having session string embedded in them.

  • 0

I have an ASP.NET 4 site with url’s having session string embedded in them. Due to this Google index the same page multiple times, all with different session id’s. This is affecting my ranking. Earlier i also had the aspautodetectcookie string appended to the url. But i was able to remove it, however the session id embedded in the url remains a problem still.

If my url is http://www.somesite.com/ViewProduct.aspx?ID=12, it shows up like this http://www.somesite.com/S(yya4h4rf4gjh5eo4uazix2t055)X(1))/ViewProduct.aspx?ID=12. I want it to show like http://www.somesite.com/ViewProduct.aspx?ID=12 all the time.

Here are some settings in my web.config that may help you help me

<authentication mode="Forms">             
<forms cookieless="UseCookies" loginUrl="~/AccessDenied.aspx" name="FORMAUTH" />
</authentication>  

<sessionState mode="InProc" cookieless="false" timeout="15" /> 

<anonymousIdentification cookieless="AutoDetect" enabled="false" />

Now one user asked to change cookieless=”true” to fix the problem. However in the artcle http://www.beansoftware.com/ASP.NET-Tutorials/Cookieless-Session-State.aspx the guy says that by adding cookieless = “true” session id ‘will be’ embedded in all page URLs.

Can anyone tell me how remove this session from the url – forever.

I am running on IIS 7 but do not have much access to the admin features.

  • 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-22T01:27:00+00:00Added an answer on May 22, 2026 at 1:27 am

    If you set cookieless="false" that will solve the problem you are seeing with Google.

    However this means that any browser, which doesn’t support cookies, will get a new session per request. If you want more help, please tell us how you are using the sessions.

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

Sidebar

Related Questions

Brief introduction: I have this ASP.NET Webforms site with the particularity that it doesn't
I have an ASP.NET 4.0 application that implements URL routing. This gives me page
I am having a problem implementing OpenID on my ASP.NET site. I have got
I have an asp.net web site say http://xyz.com with Default.aspx as landing page. This
How do I get root url using ASP not ASP.net? I have found this
I want my ASP.NET site to have simple menu string aka Breadcrumbs. I have
I have an ASP.NET Site that has a single Master Page. On one of
I have an ASP.NET site that has been running perfectly for a long time,
I have an ASP.NET site that I'm developing. The layout is pretty basic. The
I have an ASP.Net site, in which I am using a ListView with a

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.