I am having a trouble.
I am writing ststistics code, in order to count number of hits to a list of links in our site.
All pages r asp.
The list of links is in asp page which is displayed in one of the frames.
I'd like that when a user presses a link, the statistics database will be updated, and then I'd like the target of that link (a site) to be opened in a NEW WINDOW.
I tried calling the counting page in the new window and then opening the site, but then the user sees a blank page (with the counting page file name in the title bar), and then it is replaced with the linked site.
Basically what I need is that once link is clicked, the database of statistics will be updated and that the user will only see the site in a new window, and not a blank page.
I have the couting page working great, it can also be just a sub in another asp page.
I have some q that may help me solve it:
1. Is it possible to response.redirect to a site in a new window, and also defining windows properties?This way I can redirect from the counting page. Will the counting page will replace the curent frame?
2.Is it possible to call a function written in vbscript inside asp tags, from javascript or href? (< href="vb function name">kjkj) ?
This way I can call the counting part (in a sub), using href.
Thanks
I am writing ststistics code, in order to count number of hits to a list of links in our site.
All pages r asp.
The list of links is in asp page which is displayed in one of the frames.
I'd like that when a user presses a link, the statistics database will be updated, and then I'd like the target of that link (a site) to be opened in a NEW WINDOW.
I tried calling the counting page in the new window and then opening the site, but then the user sees a blank page (with the counting page file name in the title bar), and then it is replaced with the linked site.
Basically what I need is that once link is clicked, the database of statistics will be updated and that the user will only see the site in a new window, and not a blank page.
I have the couting page working great, it can also be just a sub in another asp page.
I have some q that may help me solve it:
1. Is it possible to response.redirect to a site in a new window, and also defining windows properties?This way I can redirect from the counting page. Will the counting page will replace the curent frame?
2.Is it possible to call a function written in vbscript inside asp tags, from javascript or href? (< href="vb function name">kjkj) ?
This way I can call the counting part (in a sub), using href.
Thanks