Last post Jun 23, 2005 06:44 PM by Spire128
Jun 23, 2005 01:56 PM|wabs27|LINK
I was looking over the OrderList.aspx file in VB.NET and there was one line that I could not understand (I believe line # 18):
Dim customerID As String = User.Identity.Name
What is User.Identity.Name? I could not find a User object mentioned anywhere. I am thinking it must be something associated with ASP.NET but I could not find reference to it anywhere.
If anyone knows what that means please let me know.
Jun 23, 2005 03:10 PM|Y2KPRABU|LINK
Jun 23, 2005 03:48 PM|wabs27|LINK
Jun 23, 2005 06:44 PM|Spire128|LINK
You need to start looking at the registartion form ie Registartion.aspx when the prospective customer trys to go to the checkout if they do not login in they will be redirected to the login if they do not have an account they need to register when they
register there details will be added to the database and a forms athentication ticket cookie posted to the client where the customer Id will be stored as a cookie
' Set the user's authentication name to the customerId
The false bit means the cookie will not be persitant so will expire shortly after the client leaves the site okay so now when u go to the orderlist.aspx