473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Question on compilation order

Hi All

Hoping someone can give me some advice on the following.

We have the following scenario:
User have to go to an external site to logon to our system, once
authenticated they are redirected to our site with an authentication
token that we validate using a web service. OK

We are running VB.net on framework 1.1 sp1.

What I am hoping to do is to add code to add code to the header control
(ASCX component) to pick up this token and create a session object to
hold the users information and login status etc. Once this object has
been created the aspx page will pre-populate the page with the users
information.

I have a couple of concerns:
1: I want to use the ascx pre-render mode to create the session
object and the aspx pre-render mode to populate the form. As these are
both part of the same web page is there any way to ensure that the ascx
pre-render executes before the aspx pre-render?

2: I know that in Java a while statement is safer that an If
statement. I.E if a multithreaded application is swapped out as a
result of exceeding a time slice, once swapped back in it will (in the
case of a while statement) check that the condition is still valid,
whereas if an 'If' statement is used it won't. Is this the case with
dot.net code?
Any thoughts are greatly appreciated

Mikey

Jan 16 '07 #1
0 674

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

Similar topics

11
by: donald | last post by:
Hi all I am new to asp and had a question, I have a database driven site and would like to have an option showing the last 10 records added to the database, does anyone know if a) this is possible...
1
by: rforman1 | last post by:
I have found many threads with this question asked and ostensibly answered, but none with an example of how exactly to do it. Help! I know that in order to set up the values of command line...
55
by: ben | last post by:
is it true that a function without an inline keyword never get inlined? If not true when is it inlined or not? ben
5
by: xuatla | last post by:
I have read FAQ but have not quite understood the usage of constant member function. class A { private: int n; double *v; // ....
9
by: John Smith | last post by:
I'm looking at some codes I wrote five years ago when taking a C++ course. Having not touched C++ since, I have forgotten most of it. Now I can't even comprehend my own codes. I have a question:...
11
by: Michael Gaab | last post by:
Compilation in c generally has four phases 1. Preprocessing 2. Compilation 3. Assembly 4. Linking. If I use a flag that will not link the code, order of compilation is not an issue,...
8
by: Lau Lei Cheong | last post by:
Hello, As a programmer, I'm sure many of you have written libraries to do many of the repeatative tasks, and possibly sharing them with other team members. In my case, I have about a dozen...
5
by: JCauble | last post by:
1. We have a web project that has a support dll that uses the following command: HttpContext.Current.Application.ToString(); 2. In our environment we must use a build process that runs from the...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.