| | |
Simple ASP.Net Login Page (Using VB.Net)
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
I am sorry but I do not understand what you are asking.
Ok? You don't want the user to go to next page on successful login? What is suppose to happen after login is completed? How would the user know where to go? If you mean another page other than default.aspx, I have to ask....have you reviewed the posts in this tutorial that speak of doing exactly that?
PLEASE be clear, specific and provide background information that may help me to help you get your questions answered
Ok? You don't want the user to go to next page on successful login? What is suppose to happen after login is completed? How would the user know where to go? If you mean another page other than default.aspx, I have to ask....have you reviewed the posts in this tutorial that speak of doing exactly that?
PLEASE be clear, specific and provide background information that may help me to help you get your questions answered
Well you can do this one of two ways. Use Response.Redirect("userhome.aspx") or you could add the userhome.aspx as a possible default page under IIS settings for the application directory that will contain your ASP.Net Application.
•
•
•
•
Originally Posted by Qbit75
yaa i want to do this but i want to redirect the user adminhome or userhom.aspx in your code it is possible that i define the particular page where a user go ?
FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, False)
at there how i define to go in next page just as userhome.aspx?
Ok no worries
Start Menu --> Control Panel --> Administrative Tools --> Internet Information Services.
Drill down in the cascading menu to the folder name holding your ASP.NET Application. Right click on that folder, select properties, then go to the documents tab
http://www3.telus.net/public/tmlohnes/Image1.jpg
Click add and then type in the name and extension of the new default page you want to use instead of the listed ones.
Voila!
Start Menu --> Control Panel --> Administrative Tools --> Internet Information Services.
Drill down in the cascading menu to the folder name holding your ASP.NET Application. Right click on that folder, select properties, then go to the documents tab
http://www3.telus.net/public/tmlohnes/Image1.jpg
Click add and then type in the name and extension of the new default page you want to use instead of the listed ones.
Voila!
![]() |
Similar Threads
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.Net Directory Problems
- Next Thread: Ready to take up a challenge
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax alltypeofvideos appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class complex control countryselector dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash folder form gridview gudi iis image javascript list listbox login maps mobile mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows schoolproject search security select sessionvariables silverlight smoobjects software sql sql-server ssl tracking treeview validatedate validation vb.net videos vista visualstudio vs2008 web webapplications webdevelopment webprogramming webservice wizard xsl




