|
iam using username and password screen to enter into the next page .in the 2page i have logout screen to log out ...but if the user click on the close button of the ie screen how i can identify that user has did a wrong click or how can i identify user clicked close button
|
|
|
|
|
You can try to do this with an AJAX call, but you can't be certain it will work. Best to write an app that doesn't rely on this behaviour.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi mr.Christian Graus actually before i used master page and on master page body unload i called a function but now iam using a user control to the pages as baner to every page .this baner is having logout and on clicking log out im calling the function.
will u give any idea of that application that does not rely on this behaviour
|
|
|
|
|
Well, basically, don't do anything where you rely on knowing the user logged out. For example, when you store in your DB that someone is logged in, also store the time of their last action, and once their last action has been more than a certain time ago, log them out.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
this is very true because if some1 closes the browser window or their machine crashes then you have no way of knowing they logged out.
You could use session variables and put time limits/counts on that
|
|
|
|
|
HI All
i have a textarea. and i want to count number of lines in this textarea.
actually i have created a HTML Editor using textarea.
can anybody tell me how to solve this problem.
thanks.
|
|
|
|
|
you can count for the number of occurances for \n
function countRows()
{
var rows = document.getElementById("test").value.split('\n');;
alert(rows.length);
}
this will give the number of lines
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
|
|
|
hello all
I need to center align the contents of my web page as many of the websites does these days(eg. www.msn.com), while reading through diff sites i got to know that we can do it with hlp of css files but not exactly how....can anyone hlp me out on same??
|
|
|
|
|
it depennds how u align the tables.In tables u can align contents in center.no need to go for css.
right click inside the table > build style > align : center
|
|
|
|
|
please don't use tables, it much better to use div tags and then use css to position
Do you want your website to be 800x600 or bigger?
|
|
|
|
|
Thanks for the information
It'll be helpful if you can provide an example of a css file for center aligning.
|
|
|
|
|
Put the content in a div and use javascript to center it. works for all screen resolutions. check this link [^]
|
|
|
|
|
Thanks!!
I will try the stuff and will get back to you
|
|
|
|
|
i tried your stuff its gud enough for me
but only problem is its not working with mozilla thou its working with IE
Could you help me out in this??
Regards
Nitin
|
|
|
|
|
I am not able to Debug, while working.I had been putting breakpoints but on running and pressing F10 i am not able to go to that place .Why is it happning .
While putting breakpoints i get this message as tooltip
"No symbol had been loaded for this document"
plz help
|
|
|
|
|
You're in release mode.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i want to display msexcel in browser window, my excel file is stored in database
|
|
|
|
|
First try recreating the excel from the db and then temperory place it in the web server.Now you can open it in a new window or do a response.Redirect to that file.\
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
hi
I am developing a site for purchase products.
So i am using paypal for payment.
I am sending reqired items on paypal and paypal ask for loginId or credit card detail.
In my testing account i login and pay the amount.
After the above process PAYPAL show conformation page and a Button (retun to you site) after clicking on that button i back on my site.
All the above proces is going well but i want to come back on my site without the paypal conformation page or button click.
(i need that because on retun from pappal i update the use account.)
please help some one.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
You need to either not use paypal, or see if they have a paid option that does what you want. Or change your design.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Rajiv
I am also gone through same situation. For that purpose you have to use
paypal IPN. You can send a ipn page url to paypal. While processing is carried out paypal call this page in backgroud you can check transaction status here if it is success then update user account.
If you have any query then ask me?
Regards
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
hello rahul
very very thanks for your ipn idea.
my problem has been solved
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|