Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-22-2004, 08:06 PM   PM User | #1
esb01
New Coder

 
Join Date: Jun 2003
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
esb01 is an unknown quantity at this point
Session Var in ASP.NET

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.
esb01 is offline   Reply With Quote
Old 12-23-2004, 06:17 AM   PM User | #2
gwendaal
Regular Coder

 
Join Date: Jul 2004
Location: France
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
gwendaal is an unknown quantity at this point
are you on a free host ? if so most part of them are not full applications and global.asax are not working
gwendaal is offline   Reply With Quote
Old 12-23-2004, 08:24 AM   PM User | #3
tboss132
Regular Coder

 
Join Date: Oct 2004
Location: In front of this computer. (Where else?)
Posts: 442
Thanks: 0
Thanked 0 Times in 0 Posts
tboss132 is an unknown quantity at this point
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.
tboss132 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:48 AM.


Advertisement
Log in to turn off these ads.