Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

currenly logged in user , time and date.

Posted 25 May 2001 00:59:27
1
has voted
25 May 2001 00:59:27 suhail kaleem posted:
ok one more !

this time i want to know which user is online with the time - i have seen on some site they display - that the user abc has logged on 12/3/2001 time : 3;00am and logged of at 4;00 am


i aslo want to know how do i display the looged in users name and details .

suhailkaleem


Replies

Replied 25 May 2001 08:42:50
25 May 2001 08:42:50 Some One replied:
you can insert a rocord (called as time) when user login.
And the second time you can update that record as a new one.

sdi ::: pixels to blood
Replied 25 May 2001 22:43:06
25 May 2001 22:43:06 suhail kaleem replied:
can u explain it for me.or show me a example ?

Replied 25 May 2001 23:27:14
25 May 2001 23:27:14 Some One replied:
Yes...
first of all you must get the current date.
I use an extension for it. Search it in macromedia ultradev extension (keyword date).

Then the second thing insert the record
You can find how update a record without a form (on this foru we talked this)
But if you can't update tell me ... So i will explain it (i just learn it today )

sdi ::: pixels to blood
Replied 25 May 2001 23:45:00
25 May 2001 23:45:00 suhail kaleem replied:
yes please tell me how to update a record without a form -explain it

Replied 25 May 2001 23:59:37
25 May 2001 23:59:37 Some One replied:
Ok...
Create a recordset (we will update this)
And then write this lines under recordset codes
<%
recordset('date_column') = date
recordset.Update
%>

in this example recordset = your recordset name
date = a variable which is came from an extension (i tell it above)

And if i find name of the date extension i'll tell you

--------
ehhh sorry for bad english

sdi ::: pixels to blood
Replied 26 May 2001 01:17:48
26 May 2001 01:17:48 suhail kaleem replied:
so the magin line is
recordset.Update

well thank you i will give it a try and then let u it wored or not.

Replied 30 Jan 2002 01:58:53
30 Jan 2002 01:58:53 yoghurt ng replied:
i know how to insert logged date and time without form
but how to know that logged of time (without user press log out?=only close the bowser)?
thx a lot ^^

Replied 30 Jan 2002 22:23:10
30 Jan 2002 22:23:10 suhail kaleem replied:
hi
actually whats happen when user clicks on logout link it expires the session var , and also when user closes ALL the browser windows session also expires ,
so yr problem is sloved ?
suhailkaleem

Reply to this topic