C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » JavaScript »

how can i browser X button closed.


Posted Date: 18 Jul 2006      Posted By: DAYA PRASAD      Member Level: Bronze     Points: 2   Responses: 1



hi,

I have one problem in asp. but i can doing program in asp or java script. I can used "LoginHistory" table name.In these table consists of seven fields.ie

(1) Login name
(2) Ip
(3) Login time
(4) Login Type
(5) session id
(6) Logout Time
(7) Login Status

These r seven field .

These r workin properly.and show proper responce. there is no any mistake.
but when i logout in logout button .that show Login ststus is "off" and Logout Time is display.

But when i closed Browser in top corner side "X" then it can be show in Login History table r.
"Login status" is "On" .But i want "off" .Because session in not expire .how can i expire session.



query is

Set con = Server.CreateObject("ADODB.Connection")
con.open "intatanet"
qq2 = "UPDATE LoginHistory SET LogoutTime='"& now() &"',LoginStatus='OFF' Where LoginStatus='ON' and SessionID = " & Session.SessionID & " "
'Response.Write qq2
'Response.End
Set rs=con.Execute(qq2)



These qry r working properly byt it cant show Status is off.


pls give me correct answer asap.

Thank






Responses

Author: Rajamarimuthu    27 Jul 2006Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

fyfjfjff jyfjyfjyf yfjyfyjf yfyfyf yff


Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : reset a fileupload
Previous : suggest me a Javascipt unit testing tool
Return to Discussion Forum
Post New Message
Category: JavaScript

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use