Regarding a clock in/out site. When user A logs in it shows his check in/outs. then user B logs in. When A refreshes the page, he gets B's Check in/outs.
I am probably doing this wrong because iam storing the username in a public variable when ever the user logs in server side, c#, too check for a lot of other permissions on the site, through different pages.
if (publiclasses.isValid == true)
{
publiclasses.unilogin = UserNametextbox.Text.ToString();
publiclasses.Checkifmissinglogout();
Response.Redirect("checkin.aspx");
}
How do i save the user in a different way that always keeps it "unique" and not just overrides the old one stored?