H
Horace Nunley
I'm expecting this function to return the same value each time the page is
hit within the same session:
In other words i want to save the guid as a session variable
Function TempImageGUID() As String
Dim _Temp As String
If Not (Session("TempGUID") Is Nothing) Then
_Temp = Session("TempGUID")
Else
Session("TempGUID") = System.Guid.NewGuid().ToString()
_Temp = Session("TempGUID")
End If
Return _Temp
End Function
hit within the same session:
In other words i want to save the guid as a session variable
Function TempImageGUID() As String
Dim _Temp As String
If Not (Session("TempGUID") Is Nothing) Then
_Temp = Session("TempGUID")
Else
Session("TempGUID") = System.Guid.NewGuid().ToString()
_Temp = Session("TempGUID")
End If
Return _Temp
End Function