Reputation: 1172
I am developing website using Asp.Net 4.5 (VS2012) and using Telerik Ajax controls. I am using Telerik Schedular, Grid, AjaxPanel etc.
Project compiles fine. When I run it from VS.. It is showing me URL like this
http://localhost:23482/default.aspx
and then suddenly some random string inserted between URL. and it looks little wired like below
"http://localhost:23482/(S(hchi1ir5xii2dy1cjgpghqx3))/default.aspx"
"http://localhost:23482/(S(mgxsfl3rnxnbx2y24i12nowe))/default.aspx"
"http://localhost:23482/(S(sc2hyowh0f2xidnx1zptgaqd))/default.aspx"
I've also tried to run it from IIS as website. no luck.. same problem.
NOTE: The website still works fine even with random strings in URL nothing is broken at all.
Can anyone please suggest me something ?|
Thanks
Upvotes: 2
Views: 2824
Reputation: 8736
SessionId by default is store in cookies but you can use cookieless session by writting this lines to web.config
<system.web>
<sessionState cookieless="true"
/>
</system.web>
you can remove that lines from webconfig to remove (S(hchi1ir5xii2dy1cjgpghqx3))
from
"http://localhost:23482/(S(hchi1ir5xii2dy1cjgpghqx3))/default.aspx"
or write to web.config
<system.web>
<sessionState cookieless="false"
/>
</system.web>
Upvotes: 3