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
Cisco VPN Client 5.0.07.0290 on Windows 7 64 bit
Converting example Outlook Redemption VBS to C#
perl, select rows of data into an array
PHP array, problems with multiple checkboxes
Can't Add User in Active Directory
VBA LDAP Query to retrieve all members of a group in active directory
Exchange 2007 OWA causes 2 audit failures on failed login attempt
How do I pass Sonicwall GVC traffic through a TZ170 to terminate on a TZ210?
PHP error reporting
Exchange Tabs not showing in Active Directory on new Domain Controller