question about Global.ascx


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: question about Global.ascx

  1. #1
    Join Date
    Aug 2005
    Posts
    111

    question about Global.ascx

    I have a question about declaring the Global.ascx:

    In VS.NET I create a Solution, and there are 4 projects under it. They are put under 4 folders, but web pages would be called across the 4 projects. For example, web page Page1 in Project1 will redirect to web page Page2 in Project2 which will further redirect to Page3 in project3 and Page4 in Project4 and finally back to Page1.

    In each web page, some session variables, such as customer ID, Product ID will be used, so I declare these variables in Global.ascx. My question is: Do I need to declare 4 Global.ascx files and in each file I declare the same variables?

    Thank you.

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    If I understand your question correctly, the following should help:

    HOW TO: Share ASP.NET Pages and User Controls Between Applications by Using Visual Basic .NET
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

Similar Threads

  1. Display one record at a time!
    By ASP learner in forum ASP.NET
    Replies: 5
    Last Post: 10-08-2002, 07:17 PM
  2. question on best programming option
    By James in forum .NET
    Replies: 2
    Last Post: 03-28-2002, 07:14 AM
  3. VB,STORED PROC, COM, DTC QUESTION?
    By melvin ng in forum VB Classic
    Replies: 1
    Last Post: 11-10-2000, 03:46 AM
  4. Closing Database Question
    By Kevin McGuire in forum VB Classic
    Replies: 1
    Last Post: 09-05-2000, 03:51 PM
  5. Performance question
    By John in forum VB Classic
    Replies: 2
    Last Post: 04-05-2000, 09:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center