User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 426,876 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,332 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2745 | Replies: 4
Reply
Join Date: Oct 2005
Posts: 7
Reputation: pyari_priya1981 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pyari_priya1981 pyari_priya1981 is offline Offline
Newbie Poster

Help Session Variable clashing

  #1  
Oct 15th, 2005
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Posts: 175
Reputation: Letscode is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 5
Letscode's Avatar
Letscode Letscode is offline Offline
Junior Poster

Re: Session Variable clashing

  #2  
Oct 16th, 2005
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?
Save White Tiger
Reply With Quote  
Join Date: Oct 2005
Posts: 7
Reputation: pyari_priya1981 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pyari_priya1981 pyari_priya1981 is offline Offline
Newbie Poster

Help Re: Session Variable clashing

  #3  
Oct 17th, 2005
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
Reply With Quote  
Join Date: Jul 2005
Location: Dallas, TX
Posts: 481
Reputation: campkev is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 19
campkev campkev is offline Offline
Posting Pro in Training

Re: Session Variable clashing

  #4  
Oct 17th, 2005
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"]
Reply With Quote  
Join Date: Nov 2005
Location: Mountain View, CA
Posts: 47
Reputation: kedar_challa is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
kedar_challa's Avatar
kedar_challa kedar_challa is offline Offline
Light Poster

Re: Session Variable clashing

  #5  
Nov 9th, 2005
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 10:12 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC