Solved

Session lost between asp page and aspx page?

Posted on 2004-08-19
3
292 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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