943,678 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 258735
  • ASP.NET RSS
You are currently viewing page 15 of this multi-page discussion thread; Jump to the first page
Jan 23rd, 2008
0

Re: Updated : Simple ASP.Net Login Page

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,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mkhmer is offline Offline
3 posts
since Jan 2008
Jan 23rd, 2008
0

Re: Updated : Simple ASP.Net Login Page

Click to Expand / Collapse  Quote originally posted by mkhmer ...
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.
Reputation Points: 25
Solved Threads: 18
Practically a Master Poster
binoj_daniel is offline Offline
645 posts
since Dec 2006
Jan 24th, 2008
0

Re: Updated : Simple ASP.Net Login Page

Could you please write down some code for me? I got no idea how to deal with that.....m ASP.Net newbies.

Thanks,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mkhmer is offline Offline
3 posts
since Jan 2008
Mar 21st, 2008
0

Re: Updated : Simple ASP.Net Login Page

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rasberry is offline Offline
1 posts
since Mar 2008
Jun 23rd, 2008
0

Re: Updated : Simple ASP.Net Login Page

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cthang is offline Offline
1 posts
since Jun 2008
Jun 24th, 2008
0

Re: Updated : Simple ASP.Net Login Page

Click to Expand / Collapse  Quote originally posted by cthang ...
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.
Reputation Points: 25
Solved Threads: 18
Practically a Master Poster
binoj_daniel is offline Offline
645 posts
since Dec 2006
Dec 16th, 2008
0

ASP.Net Login Page

sir,
m arthi..m vry new to dis asp.net so can u plz tel me how to create simple login page n plz telme how to execute a asp.net code
Reputation Points: 10
Solved Threads: 0
Newbie Poster
arthi.n is offline Offline
1 posts
since Dec 2008
Dec 16th, 2008
0

Re: Updated : Simple ASP.Net Login Page

Please refer my article posted on the same issue long back.

http://www.coderewind.com/?categ&view_article=34
Reputation Points: 25
Solved Threads: 18
Practically a Master Poster
binoj_daniel is offline Offline
645 posts
since Dec 2006
Dec 30th, 2008
0

Re: Updated : Simple ASP.Net Login Page

Binoj_daniel,

I tried to create the login page listed in your reply at http://www.coderewind.com/?categ&view_article=34. I am getting a error that the resource cannot be found. I have tried three times to get this to work. I am using VS 2008 because I don't see where you can create a "WEbsite" in VS 2005 as your first instruction indicates. Here is the error I get:

Quote ...
Server Error in '/SimpleLogin_coderewind' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /SimpleLogin_coderewind/logon.aspx


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
I have renamed and recreated (deleting all previous versions) the project and/or website three times. Why is the application saying it can not find the file? This doesn't make sense to me. I have the project saved in c:/inetpub/wwwroot and the website saved at c:/documents and settings/username/my documents/visual studio 2008/websites/simplelogin_coderewind

I have no idea why .net is telling me it can't find the file.

Can you tell me how to fix this?

Thanks,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RobinR is offline Offline
3 posts
since Jul 2004
Dec 30th, 2008
0

Re: Updated : Simple ASP.Net Login Page

This is an issue with the path. See how it is mapping to an incorrect path. See if you can figure out.

Click to Expand / Collapse  Quote originally posted by RobinR ...
Binoj_daniel,

I tried to create the login page listed in your reply at http://www.coderewind.com/?categ&view_article=34. I am getting a error that the resource cannot be found. I have tried three times to get this to work. I am using VS 2008 because I don't see where you can create a "WEbsite" in VS 2005 as your first instruction indicates. Here is the error I get:



I have renamed and recreated (deleting all previous versions) the project and/or website three times. Why is the application saying it can not find the file? This doesn't make sense to me. I have the project saved in c:/inetpub/wwwroot and the website saved at c:/documents and settings/username/my documents/visual studio 2008/websites/simplelogin_coderewind

I have no idea why .net is telling me it can't find the file.

Can you tell me how to fix this?

Thanks,
Reputation Points: 25
Solved Threads: 18
Practically a Master Poster
binoj_daniel is offline Offline
645 posts
since Dec 2006

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: Parent and Child Classes
Next Thread in ASP.NET Forum Timeline: Creating waiting page in ASP.net





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


Follow us on Twitter


© 2011 DaniWeb® LLC