473,881 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session Onstart

In my global.asa file I note the IP address of whomever visits my site and
log it to a SQL table.
The default page of the site is a frameset with three frames.
It appears that global.asa or at least session_onstart is called three times
as I end up with thee entries in the table.

I thought that session_onstart was only called one for a session. am I
missing something?


Jul 19 '05 #1
0 1629

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: stever | last post by:
Hi- I'm setting a session var in global ASA like this: Session("Scope") = GetScopeList( Session("docRootPath") ) Where GetScopeList is a function in global.asa that will return a string array of folder names Session("docRootPath") is an application variable that I set earlier. OK, when I drop Response.Write() calls in the global.asa and force an error
by: Edward Rothwell | last post by:
I have a web site where once a user has logged on I store their MemberID in a global variable in the global.asa file. Then in other pages I find out which member I am dealing with by looking at this variable, ie: <% Private lgMemberID lgMemberID = Session.Contents("MemberID")
by: Bobby | last post by:
I have this line, at this time the value of Session("Login") is 1: Response.Write "<a href=" & Request("script_name") & _ "?action=show&o=" & rsCustOrders("OrderID") & _ ">" & rsCustOrders("OrderID") & "</a>" Once you click on it, it refreshes the page and goes to the following section, and somehow the value of Session("Login") is 0, hence, it ends up in the ELSE trap:
by: Nishen | last post by:
Hi, I want my service to sit in an endless loop and run a stored procedure every say, 1 hour. protected override void OnStart(string args) { while(1=1) { open connection
by: Dave Wright | last post by:
Hi, I am implementing a service that connects to an SMS Controller. We are implementing this using an assembly in the OnStart() method of a Windows service. This is working fine, however I cannot work out how to get the service to stop if we cannot connect to the SMSC, if it is down or incorrect credentials etc. Currently I am using a ServiceController class which I am calling the stop method of, but this seems to hang and then...
by: Mike001 | last post by:
Hi, I've created a Windows service application and I would like to know if I should be calling base.OnStart(args) and base.OnStop inside my overridden OnStart and OnStop methods? If yes, I have a little bit of code in my OnStart method so should I call it at the beginning of my method or at the end? Also, if yes, should I call base.OnStop() as the first or last line in my OnStop method? Thanks, Mike
by: Next | last post by:
Hello, In my OnStart event I have several checks to make sure values in the config file are correct. If any of the values are incorrect I don't want the service to start. Is there a "cancel event" of some sort I can use in the OnStart event? Thanks in advance for your help,
by: bill | last post by:
So I have three ASPX files. File1.aspx has in the Page.Load handler: Response.Redirect("http://www.domain.com/directory/file3.aspx") File2.aspx has: Response.Redirect("/directory/file3.aspx") File3.aspx is just a blank page.
by: jjw | last post by:
I have a website that requires users to login. We track them by using sessions. We record the time and date that they login, their session id, the last page they visited, etc in a database. As as admin, I would like to be able to login and force a logout of other users logged in. Is this possible? I have looked online but there doesn't seem to be any information that addresses this.
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.