Hello everyone,
I need a way to keep track of our users in the database as they're filling out our web form. I have several asp.net pages and a table in the database for each page. So as the user is moving from page to page, I need to keep track of that so their information won't get mixed up with someone else's. Does that make sense? I am creating what I call a token here:
The original message can be seen here:
But no one has answered me over there yet so I was going to post this in the ASP.Net forum. I'm desperate.
Thanks in advance,
milli
BTW, I'm using Visual Studio 2005 and dumping to a SQL Server 2000 database. ANY, ANY information will be GREATLY appreciated, I have posted this question to several forums but to no avail.
I need a way to keep track of our users in the database as they're filling out our web form. I have several asp.net pages and a table in the database for each page. So as the user is moving from page to page, I need to keep track of that so their information won't get mixed up with someone else's. Does that make sense? I am creating what I call a token here:
Code:
Private Function CreateUserID()
Dim str As New StringBuilder(Left(tbLastName.Text, 3))
Dim currentDate As Date = Now
Dim [ReturnValue] As String
str.Append(currentDate.ToString("MMMddyy"))
str.Append(Right(mstbSSN.Text, 4))
str.Append(currentDate.ToString("hhmmssff"))
[ReturnValue] = str.ToString.ToUpper
Return [ReturnValue]
End Function
But no one has answered me over there yet so I was going to post this in the ASP.Net forum. I'm desperate.
Thanks in advance,
milli
BTW, I'm using Visual Studio 2005 and dumping to a SQL Server 2000 database. ANY, ANY information will be GREATLY appreciated, I have posted this question to several forums but to no avail.