Re: Quick ? on Forms Authentication
From: Karl Seguin (_at_)
Date: 10/27/04
- Previous message: oakleyx: "Quick ? on Forms Authentication"
- In reply to: oakleyx: "Quick ? on Forms Authentication"
- Next in thread: Scott Mitchell [MVP]: "Re: Quick ? on Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Oct 2004 11:20:31 -0400
Instead of using RedirectFromLoginPage (which does what you describe), you
can use
ForumsAutnetication.SetAuthCookie() (same parameters as
RedirectFromLoginPage()) and then redirect yourself via
Response.Redirect(...)
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ "oakleyx" <Daniel.Peck@gmail.com> wrote in message news:db7b62fd.0410270706.24dd5a48@posting.google.com... > Hi, > > I'm using asp.net form authentication. The problem i'm having is when > my cookie expires it redirects me to the login page, so I log in again > and it brings me to the page that I was on last before the cookie > expired. > > Is there something I can do so that after I login it always redirect > to the Default.aspx page? > > Thanks,
- Previous message: oakleyx: "Quick ? on Forms Authentication"
- In reply to: oakleyx: "Quick ? on Forms Authentication"
- Next in thread: Scott Mitchell [MVP]: "Re: Quick ? on Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|