|
|||||||
| .NET Discussion and technical support for, building, using and deploying .NET sites. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Fair enough. Either way the implementation should be just similar to what I posted earlier.
Code:
private Boolean _MyLockedToken;
protected Boolean MyLockedToken
{
get
{
if(_MyLockedToken == null)
{
try
{
_MyLockedToken = (Boolean) Session[SESSION_KEY];
}
catch(Exception exc)
{
// Your exception handling
}
}
return _MyLockedToken;
}
set
{
Session[SESSION_KEY] = value;
_MyLockedToken = value;
}
}
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|