Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling first hit on a site
Message
From
27/09/2010 17:40:13
 
 
To
27/09/2010 17:37:40
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01482914
Message ID:
01482949
Views:
43
>I might not have seen enough of your code, but how will other instances know about the lFirstHit variable? I created my class and variable as static so it's a singleton throughout the application.

All pages are inheriting from the WebForm class. On top of that class, it verifies for the oApp.lInitialize property. It can only be done once. If not initialized, the oProcess.lFirstHit will be initialized to True.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform