Solved

Session lost between asp page and aspx page?

Posted on 2004-08-19
3
281 Views
Last Modified: 2008-03-17
Hi There,

How can I make my sessions persist from asp pages to aspx pages? At the moment when I create a session of the asp page and then redirect the user to the aspx page the session is lost, does this mean I have to make another trip to the db to obtain the detail I need or is there some way of making it persist across the pages.

Sean

session("eCart_customerID") = ds("supplierID")
0
Comment
Question by:bullrout
  • 2
3 Comments
 
LVL 8

Expert Comment

by:daffodils
Comment Utility
You cannot use the Session variable of an ASP page into an ASPX code-behind page..
That's because ASP and ASPX pages do not share Intrinsic objects like Session !


0
 
LVL 8

Accepted Solution

by:
daffodils earned 250 total points
Comment Utility
0
 
LVL 21

Assisted Solution

by:tovvenki
tovvenki earned 250 total points
Comment Utility
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now