Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 February 23rd, 2004, 12:13 AM
Authorized User
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to koneruvijay
Default Varibles between asp.net and Asp Pages

Hello Folks,

I want to transfer Session state variables from my aspx page to asp page is that possible if yes how can i get a sample code for this.

Awaiting for your reply


Old February 23rd, 2004, 04:32 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

You can't share session state between ASP and ASP.NET directly.

There are a few work arounds, however. Take a look here: http://msdn.microsoft.com/library/de...rtToASPNET.asp
Ir describes how to use SQL Server to share session state between ASP and ASP.NET. It's pretty complex, but it does the trick.

If you only need to transfer the data once, you could write out the values in the ASP page to a form, and then submit that form to an ASPX page. That page can read in the values, and store them in Session state.



Imar Spaanjaars
Everyone is unique, except for me.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling ASP.Net pages dynamically hericles ASP.NET 1.0 and 1.1 Professional 0 October 23rd, 2007 11:47 PM
ASP.net many pages on one page? Lofa ASP.NET 1.0 and 1.1 Basics 5 February 13th, 2006 12:59 PM
opening asp.net pages naidukap ASP.NET 1.0 and 1.1 Basics 0 October 17th, 2005 11:48 PM
How windows NET authentication done in ASP pages lakshmy_raj Classic ASP Basics 1 October 20th, 2004 02:28 AM
Hosting ASP .NET pages outside IIS sureshsundar007 General .NET 6 June 9th, 2004 12:09 AM

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