ASP.net 4 Session not working

Posted on 2011-11-01
Medium Priority
Last Modified: 2012-05-12

I am using the following to get a text value from one page to another
 Session("field1") = oEmail 'Use Session state to pass this value to other pages
then on the next page I have
Dim field1 As String = CType(Session.Item("field1"), String)
            Me.Label_Login.Text = field1

This works properly in debug mode but the moment I deploy and load up the website it doesn't.
It worked for a full year and now just stopped
Question by:Murray Brown

Accepted Solution

JustAndrei earned 2000 total points
ID: 37061555

Author Closing Comment

by:Murray Brown
ID: 37061974
Thanks very much. I installed IIS Serve yesterday, that was on thew list.

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

850 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