Solved

strange text in the url

Posted on 2006-10-27
3
336 Views
Last Modified: 2006-11-18
All of a sudden, I have strange text inserted into the url of my asp.net 2.0 site. It looks like this:

http://localhost:3067/intranet2/(S(ihjfeyrn1y2o5jny44vjwe3r))/Default.aspx

It only happens on this one site, and it also happens when I publish the site to a server. Help!

0
Comment
Question by:sgray128
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
boricua1213 earned 500 total points
ID: 17821779
It's your session variable.  If you're not using cookies, VS.Net will put the session var into the URL for retrieval.  To remove it, change your session tag in your web.config file to cookieless="false".

Rick
0
 
LVL 2

Author Comment

by:sgray128
ID: 17821934
<system.web>
        <sessionState
          mode="InProc"
          cookieless="false"
          timeout="500" />

Makes perfect sense, and I made this change, but it didn't fix it...
0
 
LVL 2

Author Comment

by:sgray128
ID: 17821997
I removed the above code altogether, and it fixed it.

Thanks!!

(what a wild problem. I couldn't figure out how to google it...)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery - following an example but can I save data server side? 20 62
Question about JQuery and asp.net 3 35
Securing WEBAPI on Azure 2 24
orderby list (from Json) 1 29
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question