Login Question

S

Samuel Shulman

Hi all

I want to log a user but without using the following method:
'FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, False)' method


Thank you,
Samuel
 
C

Cowboy \(Gregory A. Beamer\)

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!
*************************************************
 
S

Samuel Shulman

I have enough to do...

I just didn't realize it was that simple

Thanks,
Samuel
 

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

Top