Logging Off

Jul 20, 2005

I have a application online using ASP in which users log in and log out.
However, a lot of users simply close the window, bypassing my log-out
script. I have tried using the Javascript onUnload function with success,but
refreshing the screen also triggers this at the wrong time, Has anyone got
any suggestions?

View 3 Replies


ADVERTISEMENT

Adding Logging Code To A Webpage?

Nov 3, 2010

I was wondering if it is possible to add js logging onto a webpage and have this writing out to a separate file with the details?

I have a page which is only showing the header and not the rest of the page, I want to add loggin code to find out where it is breaking.

how would I go about setting it up?

View 3 Replies View Related

Jquery :: Logging In Without Leaving Page

Nov 17, 2010

Lets say you have a blog and users need to log in before leaving a comment.( This is simplified. There are reasons log in is required here. )I would like to have a link that says "log in to comment".Upon clicking it, a pop up layer comes up.After logging in, the comment box appears.I would like this to all be silky smooth and seamless.Can someone outline the method you would use using jQuery to do this?

View 5 Replies View Related

Logging Page Render Times?

Feb 9, 2011

I am looking for a javascript function that can log the following information for each pageview:

1. The total page rendering time (not php script execution time, but the time at which the entire page is rendered from the user's perspective - all images loaded, ads served etc)

2. The URL of the page

3. The browser used to access the page

4. The country the page was accessed from

The script should then store the information in a database via an AJAX call after it's been collected.

It sounds like a tall order, but it will help me get a picture of how fast or slow my site feels depending on where you live (e.g. how far you are from the server), what browser you're using, and which pages are the slowest to render (keep in mind this is not script execution time or query time, but literally the time at which the page starts to render, to when it finishes rendering).

View 5 Replies View Related

Debugging & Logging A Server Side Script

Aug 28, 2009

I have a couple of server side scripts that keep troubling me. So far I used Visual Studio to debug them, but for some reason I can't put in breakpoints and stuff ... So debugging like I'm used to is not possible. (I'm developing the sites in dreamweaver) I've tried adding a logging function to a flat textfile, but I've been told traditionally writing to a file is not possible in a server side script... how I can best debug such an application? Is it possible to do so in Visual Studio? Another tool?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved