User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 361,925 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,650 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 133610 | Replies: 145
Reply
Join Date: Jan 2008
Posts: 3
Reputation: mkhmer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mkhmer mkhmer is offline Offline
Newbie Poster

Re: Updated : Simple ASP.Net Login Page

  #141  
Jan 23rd, 2008
Hi,

I talked about what is that"usename.txt" written for? Is that a cookies created when login success?

I did ask how to verify if user logged in or not.......it is about How to verify who is who? what user is logged in? How could I get the username which is currently logged in.

One more thing is that is it possible to redirect to the http_referer page after log in?

Regards,
Reply With Quote  
Join Date: Dec 2006
Location: United States
Posts: 612
Reputation: binoj_daniel is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 14
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Solution Re: Updated : Simple ASP.Net Login Page

  #142  
Jan 23rd, 2008
Originally Posted by mkhmer View Post
Hi,

I talked about what is that"usename.txt" written for? Is that a cookies created when login success?

I did ask how to verify if user logged in or not.......it is about How to verify who is who? what user is logged in? How could I get the username which is currently logged in.

One more thing is that is it possible to redirect to the http_referer page after log in?

Regards,


UserName.text is the actual username text control which contains the original value typed by the user. Now if you want to track who is who. You can either use Cookies or Sessions.

Cookies and Sessions can be stored and retrieved to see who has logged in and you can redirect to the referring page after login.
Reply With Quote  
Join Date: Jan 2008
Posts: 3
Reputation: mkhmer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mkhmer mkhmer is offline Offline
Newbie Poster

Re: Updated : Simple ASP.Net Login Page

  #143  
Jan 24th, 2008
Could you please write down some code for me? I got no idea how to deal with that.....m ASP.Net newbies.

Thanks,
Reply With Quote  
Join Date: Mar 2008
Posts: 1
Reputation: rasberry is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rasberry rasberry is offline Offline
Newbie Poster

Re: Updated : Simple ASP.Net Login Page

  #144  
Mar 21st, 2008
i've created the login page.
i have problem to redirect page after successful login. the page redirect to default.aspx. how can i change the redirect page to page what i want after successful login?. i need my page to go to "~Client/Gan/Default.aspx".

i dont find the codes at login.aspx & web.config that i can change to redirect page. please help.
Reply With Quote  
Join Date: Jun 2008
Posts: 1
Reputation: cthang is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cthang cthang is offline Offline
Newbie Poster

Re: Updated : Simple ASP.Net Login Page

  #145  
13 Days Ago
Hi,

I tried your example and there are no errors but when I click on log in it doesn't do anything. It just wipes out the password. I am trying to connect to a remote sql 2005 server.

Do I put the imports, functions, and db connection in the loign.aspx.vb?

Thanks
Reply With Quote  
Join Date: Dec 2006
Location: United States
Posts: 612
Reputation: binoj_daniel is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 14
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: Updated : Simple ASP.Net Login Page

  #146  
12 Days Ago
Originally Posted by cthang View Post
Hi,

I tried your example and there are no errors but when I click on log in it doesn't do anything. It just wipes out the password. I am trying to connect to a remote sql 2005 server.

Do I put the imports, functions, and db connection in the loign.aspx.vb?

Thanks


Whose reply are you referring here? If it is mine, then try to place a breakpoint and see if its coming to the function call and see what happens.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 10:39 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC