J
j-in-uk
Hi,
It seems as though Profiles have replaced session variables in visual
studio 2005. The Profile needs to be defined in the web.config :
<anonymousIdentification enabled="true" />
<profile enabled="true">
<properties>
<add name="EmpNum" defaultValue="??" allowAnonymous="true" />
</properties>
</profile>
And accessed from as page as Profile["EmpNum"] = "Test"
except I get the 'profile' does not exist in the current
context.....any ideas?
thanks
It seems as though Profiles have replaced session variables in visual
studio 2005. The Profile needs to be defined in the web.config :
<anonymousIdentification enabled="true" />
<profile enabled="true">
<properties>
<add name="EmpNum" defaultValue="??" allowAnonymous="true" />
</properties>
</profile>
And accessed from as page as Profile["EmpNum"] = "Test"
except I get the 'profile' does not exist in the current
context.....any ideas?
thanks