<% 'use this code for the search button last_search = 0 i = 0 if Len(Session("KEYWORD1")) > 0 Then last_search = last_search + 1 End If if Len(Session("KEYWORD2")) > 0 Then last_search = last_search + 1 End If if Len(Session("KEYWORD3")) > 0 Then last_search = last_search + 1 End If if Len(Session("KEYWORD4")) > 0 Then last_search = last_search + 1 End If if Len(Session("KEYWORD5")) > 0 Then last_search = last_search + 1 End If %>

GallaMann Consulting Services Inc - Computer Consulting, Programming, Networking, Web Development

GallaMann Consulting Services Inc Navigation Bar
GallaMann Consulting Services Inc Navigation Bar Services - Programming, Networking, Web Development
GallaMann Consulting Services Inc Navigation Bar About GallaMann Consulting
GallaMann Consulting Services Inc Navigation Bar Contact GallaMann Consulting
: <% do while i < last_search if i > 0 Then response.write ", " End If if i = 0 Then response.write Session("KEYWORD1_FLAG") & Session("KEYWORD1") else if i = 1 Then response.write Session("KEYWORD2_FLAG") & Session("KEYWORD2") else if i = 2 Then response.write Session("KEYWORD3_FLAG") & Session("KEYWORD3") else if i = 3 Then response.write Session("KEYWORD4_FLAG") & Session("KEYWORD4") else response.write Session("KEYWORD5_FLAG") & Session("KEYWORD5") End if End If End If End If i = i + 1 Loop response.write "(* indicates that your search returned information)" else response.write "Search GallaMann Consulting" End If %>" type="image" border="0" vspace="0" hspace="0" width="71" height="28">

<% Dim count 'now make a connection to counter database and increment the counter by 1 'dim oConn 'connection string 'dim oRS 'recordset string 'dim PV 'provider string 'set oConn=Server.CreateObject("ADODB.connection") 'VP = "Provider=Microsoft.Jet.OLEDB.4.0;" 'VP = VP & "Data Source=D:\WEB\gallaman\_vti_log\counter.mdb" 'oConn.ConnectionString = VP 'oConn.Open 'set oRS=Server.CreateObject("ADODB.recordset") 'oRS.ActiveConnection = oConn 'oRS.CursorType = 1 'oRS.LockType = 3 'oRS.Open "countertable" 'Dim digit 'Dim loopvar 'if the user has already been to the page in this session 'if Session("true") Then ' count = Session("count") 'else, this is the first visit in the session so increment the counter 'else ' count = oRS.Fields("visitor") ' count = count + 1 ' oRS("visitor").Value = count ' oRS.Update ' Session("count") = count ' Session("true") = 1 'End If Sub displaydigit(DIGIT) select case DIGIT case "1" Response.Write "You are visitor " & Session("count") & "" case "2" Response.Write "You are visitor " & Session("count") & "" case "3" Response.Write "You are visitor " & Session("count") & "" case "4" Response.Write "You are visitor " & Session("count") & "" case "5" Response.Write "You are visitor " & Session("count") & "" case "6" Response.Write "You are visitor " & Session("count") & "" case "7" Response.Write "You are visitor " & Session("count") & "" case "8" Response.Write "You are visitor " & Session("count") & "" case "9" Response.Write "You are visitor " & Session("count") & "" case "0" Response.Write "You are visitor " & Session("count") & "" End select End Sub Sub displaycounter(divide_by) digit = count\divide_by call displaydigit(digit) count = count MOD divide_by End Sub 'Response.Write "You are visitor " 'find out how many digits are in count 'length = Len(count) 'length = CInt(length) 'go through each digit starting at the first digit and call the subroutines 'Do while length > 0 ' divide_by = 10^(length - 1) ' call displaycounter(divide_by) ' length = length - 1 'Loop %>

 

Businesses need information. Information is knowledge. With knowledge businesses can make intelligent decisions and streamline company workflow procedures.

 

Commitment, professionalism, and superior customer service are a few reasons why GallaMann Consulting is a leader in the consulting industry.

GallaMann Consulting philosophy for our customers:

  • Stay ahead of competition by using the latest cutting-edge technology to its fullest.
  • Streamline and simplify workflow for maximum productivity.

Top | Services | About GallaMann Consulting | Contact GallaMann Consulting


Questions concerning this page should be sent to the webmaster.

Copyright © 1999 GallaMann Consulting Services Inc

Last modified on Tuesday, September 05, 2000. computer consulting, computers, consulting, west chester, Computer Consulting, Computers, Consulting, West Chester, professional, networking, programming, web design, web development, y2k, Networking, Programming, Web Design, Web Development, Y2K, visual basic, vb, vbscript, asp, html, databases, technology, ibm, web sites

1240 West Chester Pike #216 - West Chester, Pennsylvania 19382 - (610) 431 - 8420

Computer Consulting - Networking - Programming - Web Development