look in your web.config for the line
<authentication mode="Forms" >
<forms name="appNameAuth" path="/" loginUrl="login.aspx"
protection="All" timeout="30">
</forms>
</authentication>
set the loginURL to what you want to redirected to.
i think that the default is default.aspx.
hth,
david
>>> [EMAIL PROTECTED] 10/17/2005 11:12:00 AM >>>
I am using the following line of code to log into a site, and redirect
back
to a calling page. It is simply sending me to default.aspx thought.
I
don't know why it is, but I don't have a default.aspx, I use
index.aspx.
Does anyone know how FormsAuthentication needs to be set-up to change
this
default?
FormsAuthentication.RedirectFromLoginPage(customerId,
RememberLogin.Checked);
[Non-text portions of this message have been removed]
Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/