Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object out of session
Message
From
11/11/2005 17:22:38
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01067744
Message ID:
01067962
Views:
17
>Close, need to cast from the session object.<

Right. My bad! Thanks for the correction. =)

~~Bonnie



>>David,
>>
>>It's been awhile since I messed with ASP.NET, but I think you need to do something like this:
>>
>>
>>customer cust = Session["customer"];
>>string email  = cust.email;
>>
>>
>>~~Bonnie
>
>Close, need to cast from the session object.
>
>customer cust = (customer)Session["customer"];
>string email = cust.email;
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform