Alex Maghen
5/22/2007 10:51:00 PM
I'm building an ASP.NET Mobile Web application that uses Session. Because I
am also doing FormsAuthentication, I've set up my Web.Config with certain
settings I read I should use. It looks like:
<system.web>
<compilation debug="true"/>
<authentication mode="Forms">
<forms loginUrl="~/Login/Default.aspx"
name="HomoMoAuth" timeout="10" path="/">
</forms>
</authentication>
<authorization>
<allow users="*"/>
</authorization>
<sessionState
mode="InProc" cookieless="true" timeout="20"
/>
<httpRuntime useFullyQualifiedRedirectUrl="true" />
<mobileControls
cookielessDataDictionaryType="System.Web.Mobile.CookielessData" />
</system.web>
ANYWAY, here's my problem: It seems that, maybe, because of the
"useFullyQualifiedRedirectUrl" or something, I can't really use the "~" in my
Link Paths. If I do, I loose my Session object. Can someone help me
understand how/if I can still use the "~"? I like it!