473,407 Members | 2,598 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,407 software developers and data experts.

ASP/ASP.NET Server Variables

Hi

I am using ASP pages and ASP.NET pages side by side. It appears that if
the page requested by the client is an ASP page, which makes use of
functionality in an ASP.NET page, then the ASP.NET page will not be
able to access Server Variables. Server Variables only appear to be
available in ASP.NET pages if the page requested by the client was an
ASP.NET page.

Is this correct or is there a way around this?

Many thanks in advance.

ND

May 24 '06 #1
2 1233
stop messing arround...

or u use ASP or ASP.NET

:-P

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Nick" <ni*********@gmail.com> escreveu na mensagem
news:11**********************@i39g2000cwa.googlegr oups.com...
Hi

I am using ASP pages and ASP.NET pages side by side. It appears that if
the page requested by the client is an ASP page, which makes use of
functionality in an ASP.NET page, then the ASP.NET page will not be
able to access Server Variables. Server Variables only appear to be
available in ASP.NET pages if the page requested by the client was an
ASP.NET page.

Is this correct or is there a way around this?

Many thanks in advance.

ND

May 24 '06 #2
We cannot share state across pages in this context without saving data to a
cookie or database as an intermediary and even then its an iffy matter
depending on what the data is and what it is being used for.
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Nick" <ni*********@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
Hi

I am using ASP pages and ASP.NET pages side by side. It appears that if
the page requested by the client is an ASP page, which makes use of
functionality in an ASP.NET page, then the ASP.NET page will not be
able to access Server Variables. Server Variables only appear to be
available in ASP.NET pages if the page requested by the client was an
ASP.NET page.

Is this correct or is there a way around this?

Many thanks in advance.

ND

May 24 '06 #3

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

Similar topics

5
by: Grahammer | last post by:
Hi! I have a piece of ASP code that I want to run differently if it is on my development server. Basically, if it's on my server I just want it to do a few response.writes... If it's on...
13
by: Jeager | last post by:
Why is it, Microsoft manage to write operating systems and office applications with every bell and whistle facility known to man. Yet, even after years and years of development they still cannot...
5
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of...
4
by: Phil Grimpo | last post by:
I had previously explained this problem in a different thread, but now that I have an IISState log, I figured I'd re-start the thred. My situation and the log are following... I have a very odd...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
5
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session...
4
by: Bob H | last post by:
Hi, I'm aware of the different ways to pass variables between ASP.Net pages. For pages that need to pass a variable, we're using the server.transfer method. For others, we're using...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
5
by: wolfing1 | last post by:
I'm working on a shopping cart page. In page A (checkout) the user enters their credit card information. On postback, if everything is correct, it sends the user to page B (confirmation). My...
18
by: Thomas Lunsford | last post by:
I have inherited a set of asp pages that I now need to augment. In order to minimize changes to production code, I would like to make a "call" to an asp page from a new asp page. Existing code is...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.