?
Solved

Session lost between asp page and aspx page?

Posted on 2004-08-19
3
Medium Priority
?
298 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 total points
ID: 11849068
0
 
LVL 21

Assisted Solution

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

765 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