Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 May 22nd, 2004, 01:12 AM
Authorized User
 
Join Date: May 2004
Location: Trivandrum, Kerala, India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing values between Asp to Aspx page

I am using my Login Page as Aspx Page and my menu page is in Asp and Javascript Page.
So i want to pass variables from aspx Page to Asp Page.
Also i am in need of getting values from Asp page to Aspx Page.
(like Passing Session variable)
Also pass these variables throughout the Software.
It is a Aspx Application Software.
Is it possible? How?

Pls... explain in breif.
With Regards
Jayaraj
 
Old May 23rd, 2004, 06:54 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Please don't cross post. I have answered this question here.
 
Old May 25th, 2004, 01:16 AM
Registered User
 
Join Date: May 2004
Location: New Delhi, New Delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to FarhanBaig Send a message via Yahoo to FarhanBaig
Default

Hi,

U can share session in between ASP and ASP.net through cookies. If the session state is stored in a common format in SQL Server, the session state can be accessible by both classic ASP and ASP.NET.

Like...

When a user makes a request to the Web application, the user will be issued a unique cookie to identify the session. On subsequent request, the browser will send the unique cookie back to the server to identify the session. Before the requested Web page is loaded, a custom object will reload the user session data from SQL Server using the unique cookie. The session state is accessible in the Web page through the custom object. After the Web request is finished, the session data will be persisted back to the SQL Server as the request terminates.

I hope this might help u.

Thanx

Farhan






Similar Threads
Thread Thread Starter Forum Replies Last Post
Pass values from Aspx page to Flash Muthunagai.A ASP.NET 1.0 and 1.1 Professional 0 April 25th, 2007 11:43 PM
Passing values between Asp to Aspx page jayaraj VS.NET 2002/2003 2 May 23rd, 2004 06:54 AM
passing values from ASP page to a popup ASP Page astrosmurfboy Classic ASP Basics 3 April 21st, 2004 08:17 PM





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