i've had a problem with logout using asp
which i think with javascript might help
situation:
i used a field in the database called "logon" with "yes/no" variable
everytime the user logs in the variable is changed to
login = true
and everytime the user logs out the varible is changed
to login = false
but if the user clicks on the X(top right) in internet
explorer and does not logout,
the login variable remains as true and he/she is not able to login again
i've read a function called window.close but i had probs
using this function ..
i need some help on functions which will be called when the
user click on the X(top right) button in IE
so i can automatically log them out.
i'm just a beginner using asp so pls dun give some
complicated functions or coding , i may not understand them
thanks in advance
which i think with javascript might help
situation:
i used a field in the database called "logon" with "yes/no" variable
everytime the user logs in the variable is changed to
login = true
and everytime the user logs out the varible is changed
to login = false
but if the user clicks on the X(top right) in internet
explorer and does not logout,
the login variable remains as true and he/she is not able to login again
i've read a function called window.close but i had probs
using this function ..
i need some help on functions which will be called when the
user click on the X(top right) button in IE
so i can automatically log them out.
i'm just a beginner using asp so pls dun give some
complicated functions or coding , i may not understand them
thanks in advance