943,600 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 4283
  • ASP.NET RSS
Oct 15th, 2005
0

Session Variable clashing

Expand Post »
Hi all,

I am facing problem in session variables. We are a Call Center and we have a CRM application in ASP.Net which has two interfaces, one is for tech executive level another is for auditor. When a auditor opens both simulatanously.Sometime Session variables clashes for both interfaces and forms submitted by auditor has userid of tech executive , which she has opened just to check some information on tech executive level.

so how to resolve this problem and stop the wrong userid to be filled in audited data.

Thanks

Priya
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pyari_priya1981 is offline Offline
7 posts
since Oct 2005
Oct 16th, 2005
0

Re: Session Variable clashing

What you are saying is when a tech executive signs in and logs out, her session is not expiring.
If the user has a page opened then the session will not expire unless you logout.
When the page closes then the session state variable will automatically expire.

Even if the session did not expire like what your saying,your session variable should be replaced by the existing value for the input user.Check whether your user input gets replaced in the session variable.

What kind of Authen mode are you using?

What Browser are you using?
Reputation Points: 11
Solved Threads: 6
Junior Poster
Letscode is offline Offline
175 posts
since Feb 2005
Oct 17th, 2005
0

Re: Session Variable clashing

No I don't mean so. When an auditor audits the calls, he also logins into the CRM to check for tickets against the audited calls. He uses different username for operating CRM, other than which he is using to give remraks to audit the calls. So When on a single client , 2 different username , passwords are used , and both usernames are kept in Session Variables. They clash sometime , and form submitted by auditor
stores the username not of auditor but of other username which he is using just to check tickets.

For example : username for Auditor is ABC and username for dummy tech exective (to check tickets only) is XYZ.
And username to be stored by auditing application should be ABC but sometime it stores XYZ , which was the dummy tech exective username.

I want to know What is the reason behind this, and what is the solution.

Thanks

Manjeet
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pyari_priya1981 is offline Offline
7 posts
since Oct 2005
Oct 17th, 2005
0

Re: Session Variable clashing

Hard to say without seeing code. Do you use the same name for the session variable for both? Maybe change the name of the auditor session variable, eg: Session["username"] and Session["Auditor_username"]
Reputation Points: 14
Solved Threads: 19
Posting Pro in Training
campkev is offline Offline
484 posts
since Jul 2005
Nov 9th, 2005
0

Re: Session Variable clashing

Quote originally posted by campkev ...
Hard to say without seeing code. Do you use the same name for the session variable for both? Maybe change the name of the auditor session variable, eg: Session["username"] and Session["Auditor_username"]
Hi,

I don't think it's problem with Session variables. Anyway IIS will create two seperate sessions for each user and they are iscolated. Priya, Could you please let me know more technically about what you implemented.

Thanks,
Kedar
Reputation Points: 10
Solved Threads: 1
Light Poster
kedar_challa is offline Offline
47 posts
since Nov 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Receiving error in Visual Studio.Net when compile with F5
Next Thread in ASP.NET Forum Timeline: ASP.NET Page Life Cycle





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC