Microsoft
Software
Hardware
Network
Question : var state
In asp.net To keep a variable state I am using a session variable but is there a better way as this seems a bit clumsy. below code does work fine.
If Not Page.IsPostBack Then
a = False
Img1.ImageUrl = "images/triangle4.png"
Session("abool") = a
End If
..
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
a = Session("abool")
If a = False Then
Img1.ImageUrl = "images/triangle4b.png"
a = True
ElseIf a = True Then
Img1.ImageUrl = "images/triangle4.png"
a = False
End If
Session("abool") = a
End Sub
Answer : var state
Not in DNS unless you actively change the DNS record.
You would need a hardware load-balancer of some kind I'm afraid.
Chris
Random Solutions
Can't add secondary domain controller
VMWare ESXi vs vSphere Essential ($495 Option)
ColdFusion Using .NET Class Library
KMS is activating Win7 Pro but not Win 2008 R2 Enterprise
Hard drives out of a raid are not recognized
deployoing ecconect application
Server security analysis to determine patch level
Export Input data (survey) to Excel in ASP.NET form
Javascript - output date and time
C:\blabla\nbproject\build-
impl.xml:3
10: D:\Projects\Netbeans Workspace\MyProject is not a valid directory