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. :)
 
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

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top