16,016,557 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Robert Adamo (Top 9 by date)
Robert Adamo
3-Jan-11 19:15pm
View
Well thanks for the great insight but, I must disagree with your findings. Greater details is needed I agree. But the exercise is not futile. The mathematics is a given. But the programing is where the problem is. I already have developed a function that is 99% accurate, my problem is that the the variable between sunrise, sunset and the datetime overlap causing the two function to clash. But thanks anyway... If anyone else would like to comment and or have heard of some javascript that can accomplish this task I would be grateful.
Robert Adamo
15-Oct-10 12:36pm
View
I must be missing something else, No luck what so ever. Just tried it with a label as well and still nothing. HELP!!
Robert Adamo
10-Oct-10 22:09pm
View
Thanks, I tried something similar but the string org length sometime changes. So i need to create the labels dynamically or to simplify match string length then assign it to different string name. str1 = G, str2 = F etc and but the string need to match the length of original string which might vary.
Robert Adamo
29-Sep-10 19:29pm
View
Show us the code. Please
Robert Adamo
3-Sep-10 19:46pm
View
I check out the link and it seem to have a whole new issue of problem that is out of my league But Thanks anyway
I'll keep looking.
Robert Adamo
3-Sep-10 19:45pm
View
Sorry very new to this xmlhttp. Can you give an example. Thanks
Robert Adamo
31-Jul-10 16:35pm
View
Thanks Guys! You just gave me kind of an idea. Here's my plan. OK first I have created a service that checks every few min or so if user is logged in. This is simply accomplished by checking the DB to see if the website has changed the setting from false to true. Simple enough. Now here's my plan. If the service sees the user is logged in (true) it will reset it to false.(Logged off). While the user is surfing the website I have set a update panel on the master page to change the user setting back to true. This is triggered via a timer let say every few seconds or so. Therefore as long as the user keeps his browser open it will refresh the setting, Then within a minute of the browser crash or is closed. The service will reset the user setting back to logged off (false). This should accomplish both requirements 1) User can only be logged in from one machine or session at a time and 2) if the user leaves the site either by navigating away or closing or a crash the service will reset his account back to false. The only draw back I see is computing power and tying up the server with all these server side events. But please keep any and all ideas coming. Need to find some kind of solution asap. Comments are also welcome good or bad! The good ones help! The bad one keep you thinking.. Thanks again.
Robert Adamo
30-Jul-10 17:53pm
View
Maybe I need to go further into detials, After checking a little further I found that we are already verifing that the user is logged in as each page is loaded. I guess what the problem is that the user is only allowed to be online from one machine or session at a time. And if he ends that session correctly then is works great. But if as you said the browser crashes or they forget to log off and close the browser the user setting in the DB are not reset. So what I am trying to do is figure a way around that. Still looking for any suggestions.
Thanks again..
Robert Adamo
30-Jul-10 17:43pm
View
Ya but won't turning off caching cause a major slow down server side? We're talking about somewhere around 10,000 hit per day on this site. But any and all ideas are welcome. Thanks
Show More