Hi all
I want to log a user but without using the following method:
'FormsAuthentication.RedirectFromLoginPage(txtUsername.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.com> wrote in message
news:uxnyDpv8GHA.1012@.TK2MSFTNGP05.phx.gbl...
> Hi all
> I want to log a user but without using the following method:
> 'FormsAuthentication.RedirectFromLoginPage(txtUsername.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.netNoSpamM> wrote in
message news:ukR8srv8GHA.3264@.TK2MSFTNGP04.phx.gbl...
> 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.com> wrote in message
> news:uxnyDpv8GHA.1012@.TK2MSFTNGP05.phx.gbl...
>
Friday, March 16, 2012
Login Question
Labels:
alli,
asp,
false,
following,
formsauthentication,
log,
login,
method,
net,
redirectfromloginpage,
text,
txtusername,
user
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment