B
Burak Gunay
Hello,
I derived a custom provider from the provider class. I then set
cookieless="UseUri"
in the web.config, because we don't want data stored on client
machines.
Everytime a page with an <asp:loginview> is called, the Role Provider
page
gets called and the database gets queried.
I tried to save the roles() as a session variable in the Role Provider
page but since that page is a vb class, it does not recognize the
Session class.
How can we save the roles() info so that we don't have to hit the
database
each time to figure out the roles assigned to a user?
Thanks,
Burak
I derived a custom provider from the provider class. I then set
cookieless="UseUri"
in the web.config, because we don't want data stored on client
machines.
Everytime a page with an <asp:loginview> is called, the Role Provider
page
gets called and the database gets queried.
I tried to save the roles() as a session variable in the Role Provider
page but since that page is a vb class, it does not recognize the
Session class.
How can we save the roles() info so that we don't have to hit the
database
each time to figure out the roles assigned to a user?
Thanks,
Burak