Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > How to invoke security in a webcontrol

Thread Tools

How to invoke security in a webcontrol

John Kraft
Posts: n/a
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

John Kraft

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Custom webcontrol that references another webcontrol Fabricio ASP .Net Building Controls 0 09-21-2005 02:55 AM
Trapping an Exception ocurring in a Webcontrol at the Page or parent WebControl level. ASP .Net 2 01-31-2005 06:34 PM
WebControl inside of WebControl and attaching events Kasabaarde Sumta ASP .Net Building Controls 0 12-13-2004 09:51 PM
Can a webcontrol (webcontrol.dll) have a configuration file? Luis Ramírez. ASP .Net Building Controls 2 07-06-2004 04:35 PM