I want to log a user but without using the following method:
'FormsAuthentication.RedirectFromLoginPage(txtUser name.Text, False)' method
Thank you,
SamuelIf you want to simply set the cookie, you have that option too:
FormsAuthentication.SetAuthCookie("temporaryUser", False)
Or do you want to rewrite the entire logon methodology and replace it with
your own? You can save things to session and check on every page. You lose
the ability to restrict users and redirect automatically, but you can
rewrite those too. :-)
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"Samuel Shulman" <samuel.shulman@.ntlworld.comwrote in message
news:uxnyDpv8GHA.1012@.TK2MSFTNGP05.phx.gbl...
Quote:
Originally Posted by
Hi all
>
I want to log a user but without using the following method:
'FormsAuthentication.RedirectFromLoginPage(txtUser name.Text, False)'
method
>
>
Thank you,
Samuel
>
I have enough to do...
I just didn't realize it was that simple
Thanks,
Samuel
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@.comcast.netNoSpamMwrote in
message news:ukR8srv8GHA.3264@.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
If you want to simply set the cookie, you have that option too:
>
FormsAuthentication.SetAuthCookie("temporaryUser", False)
>
>
Or do you want to rewrite the entire logon methodology and replace it with
your own? You can save things to session and check on every page. You lose
the ability to restrict users and redirect automatically, but you can
rewrite those too. :-)
>
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
>
*************************************************
Think outside of the box!
*************************************************
"Samuel Shulman" <samuel.shulman@.ntlworld.comwrote in message
news:uxnyDpv8GHA.1012@.TK2MSFTNGP05.phx.gbl...
Quote:
Originally Posted by
>Hi all
>>
>I want to log a user but without using the following method:
>'FormsAuthentication.RedirectFromLoginPage(txtUser name.Text, False)'
>method
>>
>>
>Thank you,
>Samuel
>>
>
>
0 comments:
Post a Comment