Re: Session variable trouble

Tech-Archive recommends: Fix windows errors by optimizing your registry



Also dump userid and sessionid so that you can at least cut down the mixed
up session theory.
If you have the same userid but distinct sessionIDs this is that the userid
initialization code is likely bad.
Also SQL Server profiler may help (you'll see if both statement are fed with
the same parameters for both users, you can try them from QA then).

My failed attempt was to convey the idea that to find out the problem you
have to try and test hypothesis on possibly simplified code instead of
trying to address the problme in the whole original context where likely
much of the code has nothing to do with the carrefully hidden problem.

--
Patrice

"Russell" <russell@xxxxxxxxx> a écrit dans le message de news:
1145020164.636020.40900@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
At a wild guess, a bug in your stored procedure Usp_LeftMenu_Contact,
perhaps it isn't actually querying the user id? You should explicitly
execute it with different values and observe the results.

You might put some handling in your catch block too, although I'd
expect the subsequent call to ExecuteReader to fail if the parameters
aren't initialized.



.



Relevant Pages

  • Re: Application Variable
    ... > UserID, along with their SessionID in Aplications Variable. ... > 10,000 then still this system will work w/o having any memory problem ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SessionID -> UserId Insert and View
    ... - When the user views the GridView, ... want to use a query string that uses the UserID for securtiy resons, ... thinking that I can use a SessionID that is tied to the UserId? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Application Variable
    ... I have 20 - 25 users using my web application, and I store their UserID, ... along with their SessionID in Aplications Variable. ... Tia ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SessionID -> UserId Insert and View
    ... Where do I put this string? ... - When the user views the GridView, ... want to use a query string that uses the UserID for securtiy resons, ... thinking that I can use a SessionID that is tied to the UserId? ...
    (microsoft.public.dotnet.framework.aspnet)
  • escaping % in a string???
    ... %(userid, phrase)) ... unsupported format character ''' at index 63 ... But is there a way to escape the % signs in the first execute statement? ...
    (comp.lang.python)