Re: Setting credentials
From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 01/14/05
- Next message: tshad: "Re: Setting credentials"
- Previous message: Scott Allen: "Re: use something other than "\bin" for local assemblies"
- In reply to: tshad: "Setting credentials"
- Next in thread: tshad: "Re: Setting credentials"
- Reply: tshad: "Re: Setting credentials"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 Jan 2005 16:01:32 -0600
not sure what you mean..
If I understand you want to bypass the login? Uh...... doesn't that defeat
the purpose of using auth?
You can add pages in the web.config that ignore the auth mode.. would that
suffice?
-- Curt Christianson Site & Scripts: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com "tshad" <tscheiderich@ftsolutions.com> wrote in message news:uMYJEOo%23EHA.2568@TK2MSFTNGP10.phx.gbl... >I have a logon page that my pages go to log a person on using >formsAuthentication. > > Is there a way to jump directly to the logon page and have it set the > formsAuthentication cookie so that the next page (that would normally > require logging on - if not already done) would not jump to the logon > page. > > For example, I have a page with my submit function like so: > ********************************************************** > sub submit_click( sender as Object, e as EventArgs ) > if Not IsValid then > exit sub > end if > if request("ReturnURL") = Nothing then > server.transfer("resumeSubmit.aspx") > else > FormsAuthentication.RedirectFromLoginPage(txtEmail.text,false) > end if > end Sub > *********************************************************** > > I assume the FormsAuthentication.RedirectFromLoginPage normally sets the > cookie and jumps to the page that called it. Can I put a call just before > the server.transfer that does the same thing? > > Thanks, > > Tom. >
- Next message: tshad: "Re: Setting credentials"
- Previous message: Scott Allen: "Re: use something other than "\bin" for local assemblies"
- In reply to: tshad: "Setting credentials"
- Next in thread: tshad: "Re: Setting credentials"
- Reply: tshad: "Re: Setting credentials"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|