Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2006, 07:26 AM
Authorized User
 
Join Date: Sep 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to vijaykumartaduri Send a message via Yahoo to vijaykumartaduri
Default Can i have .ASP & .ASPX pages in same .net Appli?

I created one .net application with .ASPX Pages and also .ASP pages.
will this possible? if so pls tell me how can i ? what are all settings needs to change in IIS 5.0?

Pls let me know all the steps.

Thanks,

Vijay Kumar

__________________
Thanks,
Vijay Kumar Taduri
 
Old December 13th, 2006, 09:37 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You can have .ASP pages and .ASPX pages in the same application, BUT, they will NOT share the same SessionState meaning that a Session variable you create on index.asp will NOT be accessible in index.aspx. You will have to pass values around via querystring or pull them from a database if you wish to access session variables from one page to the next.

hth.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 13th, 2006, 06:16 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

being green to .net may I ask is this kind of practice advisable? based on your answer I assume not.

Aware of the fact this is the classic ASP area of the forum; may I ask are there many other problems a person choosing to do this will face?

Wind is your friend
Matt
 
Old December 14th, 2006, 09:42 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Outside of my above reply there are none that I am aware of (though I am sure that other issues may exist) but this is the biggest problem people switching from classic to .NET run into.

In so far as, is this practice advisible, that needs to be determined by the programmer/organization because of the time needed to convert legacy ASP code into .NET it may be more cost effective for the agency to have the programmer pass around values via the query string or save them to a database but, in the long run, this doesn't FIX the problem; its just a band-aid to temporarily solve the problem.

IMHO pick one technology or the other and stick with it.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature





Similar Threads
Thread Thread Starter Forum Replies Last Post
iFrames & ASPX Pages bandrsolutions ASP.NET 2.0 Basics 0 October 18th, 2006 04:15 AM
Master pages &server control ID - asp.net 2.0 tech user C# 2005 1 August 3rd, 2006 04:31 AM
Enabling Arabic characters in ASP.NET-Oracle Appli abinashpatra ASP.NET 1.0 and 1.1 Basics 0 November 8th, 2005 12:21 AM
how can I use classic asp in aspx pages dcongy ASP.NET 1.0 and 1.1 Basics 4 December 1st, 2004 11:53 AM
Shall i use ASP page and ASPX pages in in .net prj bvrao VS.NET 2002/2003 4 January 5th, 2004 04:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.