AllExperts > Experts 
Search      

Active Server Pages Programming (ASP)

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Chris
Expertise
I can answer pretty much any question relating to VB.NET and its use in a Windows environment. I can also handle most questions using C#. I specialize in ASP.NET web development and MSSQL database access, but have some stale knowledge of the old ASP - I'd prefer to avoid questions about it.

Experience
I have over 5 years of industry experience using VB.NET and other .NET technologies for web and database development.

Education/Credentials
I have some college education, but does it really matter in this field of work?

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > page_load event

Topic: Active Server Pages Programming (ASP)



Expert: Chris
Date: 10/2/2007
Subject: page_load event

Question
hi

i put some code in the page_load event , so that i want it to be excuted when the client visits that page

if the user visits the page for the first time , the code is excuted successfully , but I noticed that if the user visits the page for another time using the same explorer , then the page_load event does not excute

how could i solve it , i need that code to be excuted every visit

thanx

Answer
You'll have to give me more information, preferrably the source code for the page giving you this problem.  The Page_Load event should be firing every time the page is loaded, even if the page is having data posted back to it.  It is possible your browser's cache settings are making this difficult, and not refreshing the page when you tell it to.  Try going to Tools -> Internet Options, under Browsing History hit Settings, and tell it to check for a new version "Every time I visit the webpage".

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.