ASP Custom Functions

Soldato
Joined
8 Oct 2005
Posts
4,184
Location
Midlands, UK
Hi,

Im looking for a kind of library of useful asp custom functions i can use. E.g. to MD5 a string etc etc.

Thanks
 

Hi Spunky,

I think I'm missing something blatently obvious here I can't retreive the querstring values like in your example. E.g. on page one I have a simple link:

Code:
<a href="<%="enc2.asp?" & encode("name=Johnny&surname=Vegas&company=OCuK")%>">Encoded QueryString</a>

on enc2.asp:

Code:
szData = decode(request.querystring)

szName = getToken(szData, "name")
szSurname = getToken(szData, "surname")
szCompany = getToken(szData, "company")
 
 response.write("Name = " & szName)
 response.write("Surname = " & szSurname)
 response.write("Company = " & szCompany)

It encodes the querystring fine and i am able to display the full decoded querystring fine on the second page, just not get the actual values from it.

Any ideas?

Cheers
 
Back
Top Bottom