Connected to Celcom 3G PCMCIA data card
Connected to Time.net Broadband
If you ask me, sadly I will say, like the rest of 3G user said (from what I read), it almost feel like slightly faster than dial-up service. :(
Lost in the internet cloud? This blog is Azo's version of bread crumb trail, to help him recalls everything back so that he won't lost. And now this blog is a Swiss Army Knife of internet technology.
At first I thought I just need to select my 3G ISP name (Celcom). So I tried both UMTS - Celcom - Option GT 3G Quad and HSDPA - Celcom - Huawei E600 / E620 but no connection detected. So I look back at the box and I noticed that the actual name is Novotell Wireless Merlin U530. So I choose UMTS - Taiwan Mobile - Novatel Mireless Merlin U530 on ISP - Card option. You can leave the rest of the form blank except:
Session("FirstName") = "Azo"And to retrieve the value, type:
Dim firstname As String = CStr(Session("firstName"))
Dim articleid As Integer = CInt(Request.QueryString("articleid"))If you only need to retain a variable when posting a page back to itself, you should use the viewstate. It works similarly to a hidden input field in html by placing the value in html code that is not displayed. However, items in the viewstate are encoded so that they cannot be easily deciphered by users. Syntax is similar to sessions, to place in viewstate:
viewstate("FirstName") = "Azo"To get from viewstate:
Dim fname As String = CStr(viewstate("FirstName"))If you would like to have a global variable that is static, for example, an sql connection string, I recommend creating a class, and creating the value as a public property of that class. This way you can return your values as a specific data type to enforce better programming.
Public Class GlobalsIf you need a dynamic variable that spans across individual user sessions (ie keeping a count of active users on your site), you must store the variable in the application object.
Public ReadOnly Property connstring() As String
Get
Return "server=WebSqlServer; database=Authors; uid=sa; pwd=abcdefg;"
End Get
End Property
End Class
Application("usercount") = CInt(Application("usercount")) + 1