Click here to Skip to main content
15,886,046 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
I have an ASP.Net application. Whenever I run the application after the login page some thing get concatenated in between the URL's

Eg: Consider my original URL is
something.com/Manager/Inventory/ProjDetails.aspx
But in IE it is forming as
something.com/Manager/(F(35SRZWWvc5L4xa3tgb8hfVUw_x3t9ctYZvC_Ov......_N96f8Xg2))/Inventory/ProjDetails.aspx

Note: Here my project is under the folder Manager.

URL is not forming correctly only in IE, Chrome and Mozilla's URL are formed correctly and I am getting this only in the production, In Developer's environment even in IE, URL is forming correctly (i.e without the concatenated strings in-between)

I hope you guys understand my question and thanks for your reply.
Posted
Updated 26-Oct-14 19:22pm
v3
Comments
SRS(The Coder) 27-Oct-14 1:23am    
This seems like any security feature implemented in IE browser on production on disabling which you can get proper URL i hope.
Abdul Samad KP 27-Oct-14 2:12am    
Check whether cookies are disabled in IE
Prasaad SJ 27-Oct-14 2:54am    
I have disabled the cookies but the problem still exists. SRS, Was there any settings in IIS that could lead to this problem?

Thanks for your reply guys.

Today, I experienced the same issue, It is the form authentication data, IE is appending it to the URL instead of using cookies, even if the cookies are enabled. I don't know why only IE is doing this, may be due to some settings in the IIS, which we need to configure.

Any way, I fixed this by adding
cookieless="UseCookies"
property to the Form tag in Web config, below is the authentication section from my web config

XML
<authentication mode="Forms">
    <forms loginUrl="~/Account/Login.aspx" timeout="2880" cookieless="UseCookies" />
  </authentication>
  <authorization>


Hope this will help you
 
Share this answer
 
v2
DON'T USE SPACE IN URL AND ALSO IF ASSIGN YOUR URL IN STRING TYPES IF VARIABLE SO PLEASE USE LIKE THIS
string url=@"/url/url";
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900