Hello all,
I'm writing you because I have a question for you all: how can I capture the
previous page from an ASP file?
I need to add the URL (with parameters if possible) of the previous page to
a table in SQL Server.
For example: the page that captures the info is anydomain.com/asppage.asp
and if the previous page in the browser history is
otherdomain.com/otherpage.asp, I need to be able to capture that information
If possible, of course...
Thanks in advance for your help and prompt response,
SB-R 4 2208
On 24 Sep, 20:09, "segis bata" <segisb...@hotmail.comwrote:
Hello all,
I'm writing you because I have a question for you all: how can I capture the
previous page from an ASP file?
I need to add the URL (with parameters if possible) of the previous page to
a table in SQL Server.
For example: the page that captures the info is anydomain.com/asppage.asp
and if the previous page in the browser history is
otherdomain.com/otherpage.asp, I need to be able to capture that information
If possible, of course...
Thanks in advance for your help and prompt response,
SB-R
You can use Request.ServerVariables("HTTP_REFERER") to capture what
page sent you to the current page.
is this what you need?
regards
dave
"daddywhite" <da************@hotmail.comwrote in message
news:11*********************@g4g2000hsf.googlegrou ps.com...
On 24 Sep, 20:09, "segis bata" <segisb...@hotmail.comwrote:
Hello all,
I'm writing you because I have a question for you all: how can I capture
the
previous page from an ASP file?
I need to add the URL (with parameters if possible) of the previous page
to
a table in SQL Server.
For example: the page that captures the info is
anydomain.com/asppage.asp
and if the previous page in the browser history is
otherdomain.com/otherpage.asp, I need to be able to capture that
information
If possible, of course...
Thanks in advance for your help and prompt response,
SB-R
You can use Request.ServerVariables("HTTP_REFERER") to capture what
page sent you to the current page.
Be aware that some software blocks it. http://karmak.org/2004/reftest/fix
Hello Dave,
That variable doesn't return any values
BTW, I'm using Win2003 SP1 IIS 6.0
"daddywhite" <da************@hotmail.comwrote in message
news:11*********************@g4g2000hsf.googlegrou ps.com...
On 24 Sep, 20:09, "segis bata" <segisb...@hotmail.comwrote:
>Hello all,
I'm writing you because I have a question for you all: how can I capture the previous page from an ASP file?
I need to add the URL (with parameters if possible) of the previous page to a table in SQL Server.
For example: the page that captures the info is anydomain.com/asppage.asp and if the previous page in the browser history is otherdomain.com/otherpage.asp, I need to be able to capture that information
If possible, of course...
Thanks in advance for your help and prompt response, SB-R
You can use Request.ServerVariables("HTTP_REFERER") to capture what
page sent you to the current page.
is this what you need?
regards
dave
It will contain data if the browser sends it - this is done is the browser
follows a link to your page so long as intervening software doesn't strip it
out. If someone just types your page URL into their browser then you can't
obtain the value of the previous URL (at least as far as I know, although it
may be possible with some client side scripting but would require user
intervention, if it was automatic then it'd be a security risk to the
browser.
Dan
segis wrote on Mon, 24 Sep 2007 17:23:07 -0400:
Hello Dave,
That variable doesn't return any values
BTW, I'm using Win2003 SP1 IIS 6.0
"daddywhite" <da************@hotmail.comwrote in message news:11*********************@g4g2000hsf.googlegrou ps.com...
>On 24 Sep, 20:09, "segis bata" <segisb...@hotmail.comwrote:
>>Hello all,
>>I'm writing you because I have a question for you all: how can I capture the previous page from an ASP file?
>>I need to add the URL (with parameters if possible) of the previous page to a table in SQL Server.
>>For example: the page that captures the info is anydomain.com/asppage.asp and if the previous page in the browser history is otherdomain.com/otherpage.asp, I need to be able to capture that information
>>If possible, of course...
>>Thanks in advance for your help and prompt response, SB-R
>You can use Request.ServerVariables("HTTP_REFERER") to capture what page sent you to the current page.
>is this what you need?
>regards dave
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave |
last post by:
After following Microsofts admonition to reformat my system before doing a
final compilation of my app I got many warnings/errors upon compiling an rtf
file created in word. I used the Help...
|
by: Tom |
last post by:
A question for gui application programmers. . .
I 've got some GUI programs, written in Python/wxPython, and I've got
a help button and a help menu item. Also, I've got a compiled file
made with...
|
by: Sudheer Kareem |
last post by:
Dear All
Please tell me how to assosiate help files with my Vb.net
Project.
Regards
Sudheer
|
by: wukexin |
last post by:
Help me, good men. I find mang books that introduce bit "mang header
files",they talk too bit,in fact it is my too fool, I don't learn it, I have
do a test program, but I have no correct doing...
|
by: d.warnermurray |
last post by:
I am doing a project for school that involves creating help files for a html
authoring tool.
If you could help me with answers to some questions it would really help.
1. What tasks do you expect...
|
by: Colin J. Williams |
last post by:
Python advertises some basic service:
C:\Python24>python
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
With...
|
by: Corepaul |
last post by:
Missing Help Files
When I enter "recordset" as the keyword and search the Visual Basic Help index,
I get many topics of interest in the resulting list. But there isn't any
information available...
|
by: Mark |
last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my
home computer has an abbreviated help screen not 2% of the help on my laptop.
All the settings look the same on both...
|
by: trunxnirvana007 |
last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve...
|
by: hitencontractor |
last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003.
I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About.
The application...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |