Could someone Please help. I am reading the book Professional ASP.NET 3.5 BY wrox. In the section on Personalizaion and in particular "Working with Anonymous Identification" the Author states that you can create your own unique AnonymousID by using the event AnonymousIdentification_Creating from the Global.asax. In the Authors words you just create the event using the event delegate of type AnonymousIdentificationEventArgs as listed below.
Public Sub AnonymousIdentification_Creating(ByVal sender As Object, ByVal e As AnonymousIDentificationEventArgs)
e.AnonymousID = "Bubbles " & DateTime.Now()
End Sub
Then the Author just said that by setting the e.AnonymoudID you can set your own unique ID vs a GUID.
***Question*** The author never states what a Global.asax is? He just make the statement it's there, what is it?
***Question*** How do you call this public sub AnonymouseIdentification_Creating() I have tried just calling it from code
ie Protected Sub btnText_Click(ByVal sender As Object, ByVal e As System.EventArgs)
AnonymouseIdentification_creating() // errors.
End Sub
Thanks
Dave.