ASP Years Option Drop Down
If you need to have people sign up that are currently between 14 and 40 it is not really cool to ask them how old are they now as next year they will have changed their age and you don’t want to have to ask them again. So here is an easy way to check...
ASP Generate date between 2 different dates
So, if you need to have 2 different dates made as a drop down, here is the code: <select id=”spk_date” name=”spk_date”> <option selected=”selected” value=”">Select a Date</option> <% for counter = date()+1 to date()+60 %> <option <% ‘ select the current date to display it if counter = date() then %> <% end if %> value=”<%=...
ASP Session Variables
So, Session Variables Hey? Ok here are a couple of ways of using them. Here I am going to make a session variable from a previous article, this would be a random ID. http://outsourcehouse.co.za/2010/06/14/asp-random-string/ Ok so here we go. <% Dim random_id Set random_id = CreateObject(“Scriptlet.TypeLib”) random_id = mid(random_id.GUID,2,36) %> <% session(“user_random_id”) = random_id %>...

