Thank you people for the quick answers!!! It workd fine!
Now my last question:
Case 2:
I have the scenario:
Johan Anderson Myers@EMAIL: johan*email.com@Bangkok
Cyndi Lauper@EMAIL: cyndi*lauper.com.ar@Argentina
my separator is the @ now.
Using the code of TomThumbKP (the one I understood...
need urgent help
i am trying to store in a variable the e-mail address of my users, i know the start position, but how can i guess where it ends?
eG I want to extract only the e-mail address of the following data:
mylines:
Johan Anderson Myers EMAIL: johan@email.com Bangkok
Cyndi Lauper...
hi DaZZleD thanks for your answer.
If I understood what you meant, you suggest me to flag my database with the userID and make a routine to verify (eg 5 in 5 sec) if the user is still logged-in, right?
When the user leaves the application i just update my table settin the flag to nothing or...
Hello people,
I am trying to find solutions to avoid multiple logins of an user, If someone had the same problem and found a solution, please share the ideas with me, because all the ideas I had are complete uncessfull.
Tia,
Gis.
crazyboybert, thanks for your answer.
as i noticed the problem is to clear the variable struser somehow:
If struser Is Nothing Or struser = [String].Empty Then
The problem is, my "close" button (not the browser button X) is in another webform, as vb6 programmer i could declare struser as...
I am creating a cache in this way:
'I found this code in the net and it is working really fine, but i have a problem: how can i remove this variables from my cache if the user clicks the "close" button in my application? (I mean the sintax to remove the str1 from cache)
here's my code:
on my...
jzelhart and logicallunatic, thanks once again.
that about concatenate strings was brilliant, but i find a problem to concatenate, because user_name is string field and user_id is numeric. it gives me an error msg :/
hi logicalunatic, thanks for the quick answer.
i made a test using my machine as well.
e.G. My machine's IP is 10.0.1.69, when i connect to the internet via provider my remote_addr server variable reads the value 200.228.220.25.
Thats the funny, when I am local connected in my net, it reads...
...
cboUsers.DataSource = ds
cboUsers.DataTextField = "User_Name" & "User_Id"
cboUsers.DataValueField = "User_Name" & "User_Id"
cboUsuarios.DataBind()
I need my dropdownlist to receive 2 fields (User_Name and User_Id, but i get an error, is it possible to do something like that?
Tia,
Gis.
Hello people,
I hope someone can help me about this.
I am having problem to read the ip address of my user's machine.
When I use REMOTE_ADDR, i am able to read the dynamic IP address that the provider gives to the user when he's connected to the internet, but I need to read the user's machine...
link 9 and the other guys, thanks once again
I placed code in my session_end (an insert into in my db), it works fine every time i call the session.abandon, but when i close the app. by browser as i pointed before, it doesnt work, i'd like to know if it takes a time to insert the data in the db...
Hi all :)
I am using a javascript that makes keypress event. when i use the code in an <asp:button...> it works fine, when i try after enter to focus on a <asp:imagebutton...>, it shows me the following error: 'document.form1.btnLocalizar' is null or not an object.
my code is bellow:
the...
thanks dan!
but I still get the same error:
"waiting for ;"
how is my line:
<asp:textbox id="txt_Empresa" tabIndex="1" runat="server" MaxLength="30" onkeydown="(event.keyCode==13):this.form.cboParceiro.focus();:;">
</asp:textbox>
i am using asp.net
thanks ;)
venusgirrl
Hello :)
When my users log-in I record in a table the date, time and the string "logged user".
I would like to record in table when the user leaves my application, either closing by webcontrol or by browser. Is there a way to make asp.net recognize when the user left the application and take...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.