• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 353
  • Last Modified:

strange text in the url

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
sgray128
Asked:
sgray128
  • 2
1 Solution
 
boricua1213Commented:
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
 
sgray128Author Commented:
<system.web>
        <sessionState
          mode="InProc"
          cookieless="false"
          timeout="500" />

Makes perfect sense, and I made this change, but it didn't fix it...
0
 
sgray128Author Commented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now