Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. state management issue

state management issue

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zafar Sultan
    wrote on last edited by
    #1

    I am having state management problem.Currently I am using <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20"/> in my web.config file and its working fine As there are two other state management methods StateServer and SqlServer I am a bit confused which one to use.And if anyone can tell will there any problem if i use the current setting?What are the changes I have to make in my current settings to avoid any problem as once I opened my website and a link was shown to me "the object has been moved here".When I clicked that my home page loaded but i was unable to access my admin page by logging in and redirected back to the login page.In my code the username is stored in session variable and if it is not provided the user will be redirected to the login page and even after providing the username and password I was kept redirected to the login page.I thought it definitely is session's issue. When that home page loaded directly by typing the url after a while, there was no problem.Can anyone explain what is wrong?Thanks

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups