Results 1 to 2 of 2

Thread: User Sessions Override each other

  1. #1

    Thread Starter
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 2007
    Location
    South Africa
    Posts
    829

    User Sessions Override each other

    Good Day All

    I hope someone can help me. i have a Asp.net web application that is running on 4.51 , When the User login Successfully i return an Object that has info for that user and store this in a Static object. Now my problem is the i

    User 1 Login (Welcome James)

    and

    User 2 Login (WelCome Daniel)

    and User 1 refreshes the Page (Welcome Daniel)

    My user sessions override each other. i did mess around with the IIS Session before , i just noticed this now. Can anyone help.

    Thanks

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: User Sessions Override each other

    The static object is shared thru the application, not just the session. You could store the object in the session, that will solve your problem
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width