Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4533558
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:10:16+00:00 2026-05-21T14:10:16+00:00

I have 2 projects that are asp.net 2008 websites. The file structure is as

  • 0

I have 2 projects that are asp.net 2008 websites.

The file structure is as so:

P_Project
P_Project/index.aspx.cs
P_Project/App_Code/PageBase.cs

P_Project/Q_Project/App_Code/PageBase.cs

In my index.aspx page, I call P_Project’s PageBase.isPLoggedIn() but how do I get access to Q_Project’s PageBase.isQLoggedIn() from my index.aspx.cs page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T14:10:16+00:00Added an answer on May 21, 2026 at 2:10 pm

    If they are separate web projects, you won’t be able to do it unless you have a reference to the Q_Project in the P_Project (and vise versa)

    This is probably a bad idea.

    Instead, you should have a class library (maybe one for each of P_Project and Q_Project) and refer to each of them in your web project.

    You would then be able to refer to it via Q_Project.PageBase.isQLoggedIn().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Sitecore/ASP.NET projects that I'm developing. Today at some point I inadvertently
I have several projects that I just upgraded from Visual Studio 2003 and ASP.NET
I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in
I have a project that needs to be done using ASP.NET. Currently, I'm using
I have an ASP.NET project that contains many classes. I am thinking about creating
I have an ASP.NET VB.NET web project that references a VB.NET class library. I
We have an ASP.Net MVC project that will start with a single web server
I have an Asp.net MVC project that modestly uses jQuery scripts. My views also
I have accumulated an ASP.NET project that was running everything off of one page
Background : I have a asp.net webapplication project that should contain a public and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.