Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement