Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim loginID = result.FirstOrDefault.ID
- Dim cookie As New HttpCookie(username)
- cookie.Value = loginID
- Dim dtNow As DateTime = DateTime.Now
- Dim tsminute As New TimeSpan(0, 0, 30, 0)
- cookie.Expires = dtNow.Add(tsminute)
- Response.Cookies.Add(cookie)
- Response.Redirect("notifications.aspx?cookie=" & username.ToString())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement