Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with session Variables
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
01163851
Message ID:
01164034
Views:
10
Hi Carl..thanks for your reply.
The mis-spelling is just in the hread..the app has the correct spelling but still not working.

Regards,
Gerard


>Note that this line appears to have the Session name spelled incorrectly (it's missing the "y" at the end of "sesCompan"):
>
>
string MyText = (String)(Session["sesCompan"]);
>
>
>
>>Hi.
>>I hve two forms, Form1 and Form2
>>On a Link Button on Form1 I have:
>> Session["sesCompany"] = "Green";
>>
>>On Form2, I just have one TextBox (TextBox1) and on Load of the form I Have:
>> string MyText = (String)(Session["sesCompan"]);
>> TextBox1.text = MyText;
>>
>>But nothing is appearing on the textbox when the form displays !!
>>
>>Anybody have any ideas on whats happenong.
>>regards,
>>Gerard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform