How to invoke security in a webcontrol

J

John Kraft

I have created a web app that uses forms security on certain
directories. What I would like to do is to put a login control on all
site pages so that if the user wants to login immediately, he can.
Then, a list of all directories he has access to would show up in the
navigation pane.

My forms security works perfectly, but when they login from the control
I cannot get the cookie to be accepted. It acts as if the cookie is
accepted, using either response.cookies.add or
formsauthentication.setcookie, but it does not exist when the page posts
back.

John Kraft
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top