Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Session lost between asp page and aspx page?

Posted on 2004-08-19
3
Medium Priority
?
300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
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 …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

618 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