Enables Web application track LastVisit of anonymous users in variable of type DateTime - ASP.NET Security
Q. Which of the following Web.config files correctly enables the Web application to track the LastVisit of anonymous users in a variable of type DateTime?
- Published on 27 Jul 15a.
<anonymousIdentification enabled="true"/> <profile>
<properties> <add name="LastVisit" type="System.DateTime" allowAnonymous="true" />
</properties> </profile>
b.
<anonymousIdentification enabled="true"/> <profile>
<properties> <add name=" LastVisit " allowAnonymous="true" />
</properties> </profile>
c.
<anonymousIdentification enabled="true" /> <profile>
< properties> < add name=" LastVisit " type="System. DateTime " />
</properties> </profile>
d.
<profile> <properties>
<add name="LastVisit" type="System. DateTime "/> </properties>
</profile>
ANSWER:
<anonymousIdentification enabled="true"/> <profile>
<properties> <add name="LastVisit" type="System.DateTime" allowAnonymous="true" />
</properties> </profile>