Session problem on IIS7

  1. #1

    Session problem on IIS7

    hello

    i have problem with session variables - everything is ok when i run project on VS2010 internal server, when i deploy it on II7 Windows Server 2008 i have problem with session variables:

    in login.aspx i have:

    this.Session["userid"]=id;
    Response.Redirect("panel.aspx");
    and then in panel.aspx in page_load

    Label1.Text=this.Session["userid"].ToString()
    and i get nullreferenceerror

    session state on IIS7 is inproc on cookies
  2. #2
    Hi,

    Why do you think that the problem is related with Ext.Net?
  3. #3
    Quote Originally Posted by Vladimir View Post
    Hi,

    Why do you think that the problem is related with Ext.Net?
    because i have other application on this server without ext.net and there is session variables working the same way
  4. #4
    Hi,

    If you remove Response.Redirect then does it issue gone?
  5. #5
    Ext.Net doesn't manage Session therefore it should not be Ext.Net issue
  6. #6
    Quote Originally Posted by Vladimir View Post
    Ext.Net doesn't manage Session therefore it should not be Ext.Net issue
    Sorry for confusion, the problem was with deploing application - not all files was changed on server, everything is ok, this thread is to delete or close

Similar Threads

  1. [CLOSED] Session management problem in IE8
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Jun 13, 2012, 8:44 PM
  2. Ext.net-mvc demo on iis7
    By aydssck in forum 1.x Help
    Replies: 2
    Last Post: Jan 26, 2012, 2:05 PM
  3. Ext.Net + Win2k8 x64 + IIS7
    By wdk in forum 1.x Help
    Replies: 22
    Last Post: Sep 22, 2011, 2:31 AM
  4. Replies: 2
    Last Post: Feb 05, 2010, 5:20 PM
  5. problem with "ext is undefined" on iis7 server
    By pkellner in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 16, 2008, 11:03 AM

Posting Permissions