BlackByte
Well-known member
hi im building a library web application, there is several member info that is requested throughout the application, and i want to have all the requests handled by 1 page.
E.g if i use the page member.aspx i want it to determine what type of request is being sent by ajax, whether its for the members name or books that are outstanding.
My idea was to write the ajax like
so in member.aspx load event i will then use
now i dont know if this the correct way to do this, can i be advised..
E.g if i use the page member.aspx i want it to determine what type of request is being sent by ajax, whether its for the members name or books that are outstanding.
My idea was to write the ajax like
VB.NET:
request.open("GET","member.aspx?type=membername&memberid=12345",false)
VB.NET:
If Request.QueryString("type") = "membername" Then
'i know the request is for the members name
End If