Solved

Session lost between asp page and aspx page?

Posted on 2004-08-19
3
290 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
ID: 11849062
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
ID: 11849068
0
 
LVL 21

Assisted Solution

by:tovvenki
tovvenki earned 250 total points
ID: 11849258
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

831 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