Custom Membership Provider and Login Control
Hi,
In my website,I am using a custom membership provider to match the existing database schema. One dropdownlist is added to the login control to select "Year" and Login. The value of the year should be accessible from all pages through out the session. I have 2 doubts..
1. The best place to store the value - session / profile ?
2. The Event where i can set this value. I tried setting it to a profile property @ LoggedIn event handler of the Login Control. But it says "cannot set it here because for this property allowAnonymous=false".
Thanks in advance.
|