473,325 Members | 2,828 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,325 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 777

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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.