Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms Authentication - setting default URL in pre-ASP.NET 2.0

Status
Not open for further replies.

tcstom

Programmer
Aug 22, 2003
235
GB
Hello,

I understand that ASP.NET 2.0 allows a defaultUrl property in the web.config forms tag when using forms authentication. But is there any way to use a default location in versions older than 2.0? It defaults to default.aspx in the web root, but this is not what I want. Basically I want newly logged on users to be taken to "/start/go.aspx" if no redirectUrl is detected... Any help appreciated.

Tom


Tom
emo_big_smile.gif
 
I think that if you right click on a page and set it to be the startup web form, will fit you.
Else, create the default.aspx on the web root and in page load or init or ... (pre-init) do a simple redirect, with or without queryStrings, or use the Server.Tranfer.

-
 
IIS usually controls which is the "default" document. If you go into IIS, right click the properties tab of your website you can change this default document in the "documents" tab.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top