943,907 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Marked Solved
  • Views: 278328
  • ASP.NET RSS
You are currently viewing page 6 of this multi-page discussion thread; Jump to the first page
Apr 20th, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

Paladine,

i'm also a relative newbie to asp.net, and i just wanted to thank you very much for your help! my login page worked perfectly thanks to your instructions.
heckman
Reputation Points: 10
Solved Threads: 1
Newbie Poster
heckman is offline Offline
1 posts
since Apr 2005
Apr 20th, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

hello
will is it possible to not give a response.redirect command to go other page
earlye
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Qbit75 is offline Offline
9 posts
since Apr 2005
Apr 21st, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

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
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
Apr 21st, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

I think what he asked was:
Instead of
FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, False) ' ||||| default.aspx Page! ,
can he use, Reponse.Redirect

The answer is Yes. Response.Redirect will do the work.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Kendel is offline Offline
12 posts
since Feb 2005
Apr 21st, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

Umm... ok. Thanks for answering that.

Yes!
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
Apr 22nd, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

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?
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Qbit75 is offline Offline
9 posts
since Apr 2005
Apr 22nd, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

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.


Quote 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?
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
Apr 24th, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

hi but i dont knew how to set default property so if u have aby link then its good to me to understand it plz sand me that or describe it clearly ?
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Qbit75 is offline Offline
9 posts
since Apr 2005
Apr 24th, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

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!
Team Colleague
Reputation Points: 211
Solved Threads: 27
Master Poster
Paladine is offline Offline
793 posts
since Feb 2003
May 3rd, 2005
0

Re: Simple ASP.Net Login Page (Using VB.Net)

Excuse me I am a novice in asp.net and i prove to create a new alogin application wirh this code, but my page don't make any check on the table when I make the submit return all the time at the login page. i prove to enter correct data and wrong data can yiou help me please???
Reputation Points: 10
Solved Threads: 1
Newbie Poster
lorf14plus is offline Offline
20 posts
since May 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in ASP.NET Forum Timeline: ASP.Net Directory Problems
Next Thread in ASP.NET Forum Timeline: Ready to take up a challenge





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC