Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public Property
Message
De
10/02/2010 21:16:03
Paul Ong
Knights of Christ Foundation
Californie, États-Unis
 
 
À
10/02/2010 06:26:43
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01448515
Message ID:
01448708
Vues:
41
Here's my code,

Private username As String = ""
Public Property ppusername() As String
Get
Return username
End Get
Set(ByVal value As String)
username = value
End Set
End Property

do I need to serialize them so they would be unique everytime a user visits my page?


>Hi everyone,
>
>I need your help guys, I think I have an issue,
>
>I have public property variables which I set during transactions, these variables are somewhat misbehaving, what seems to be wrong?

Public properties of what ?

>
>scenario,
>
>I logged into my website
>
>ppusername='paul'
>ppname='paul vincent'
>
>then I tried to logged into another computer, using oscar as my username,
>
>so.. ppusername='oscar' and ppname='oscar'
>
>then i get back to the first computer and refresh the page, to my amazement, i have the username displayed to the name of "Oscar"?
>
>should the varialbles be exclusive to the current user? why it is viewable and usable by other users?
>
>any explanation and sites pointing to the same kind of issue is highly appreciated.
>
>thanks,
>
>sechdric

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform