View Full Version : Session Var in ASP.NET

12-22-2004, 09:06 PM
In Form1 I set a Session("userID") and redirect to Form2.
In Form2 I have a dropdown web control with AutoPostBack = True.
When I change the dropdown selected value, my Session("userID") becomes an empty string. Why and how to prevent it from happening?

Note: this happens only on the server. When I try it locally everything works fine.

12-23-2004, 07:17 AM
are you on a free host ? if so most part of them are not full applications and global.asax are not working

12-23-2004, 09:24 AM
Discuss with your service provider. If it works fine locally and doesn't work remotely, the prob is on the host's side. Read their documentation and their FAQs. Contact someone there if possible with the problem u're having.