Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Question on compilation order

Reply
Thread Tools

Question on compilation order

 
 
michdoh@yahoo.com
Guest
Posts: n/a
 
      01-16-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation error with seperate compilation C__chp C++ 4 02-15-2008 03:57 PM
Question on compilation order michdoh@yahoo.com ASP .Net 0 01-16-2007 09:37 AM
If you get an order # does it mean the order is accepted? =?Utf-8?B?U3RldmUxMDc3?= Windows 64bit 3 05-12-2005 11:46 PM
Ant's not figuring out the order of compilation Roshan Pai Java 1 10-07-2004 12:08 PM
Traversion order cf. output order in XSL Soren Kuula XML 2 02-01-2004 09:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57