473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to I know the previous page is clicked to forward the current page?

ABC
How to I know the previous page is clicked to forward the current page?

As our web site have many methods to enter the web page, I need to know the
users clicked which link or which part of page to enter the web page.

Jan 14 '06 #1
2 1714
Joe
Dear ABC:
You may use a Session variable to store whether the user visits the previous
page or not.
For example
Set: ->> Session("Page1visited") = "True" 'on the previous page
Get: -->> If Session("Page1visited") = "True" 'on the current page
'From prev
else
'From other page
end if
Sincerely,
Joe Tsui
-MCSD.NET,MCAD.NET,MCDBA,MCP
"ABC" wrote:
How to I know the previous page is clicked to forward the current page?

As our web site have many methods to enter the web page, I need to know the
users clicked which link or which part of page to enter the web page.

Jan 14 '06 #2
I for example usualy use a stack variable & save it on a session to call &
update from all the pages

in this case a stack variale can be usefull because is something like a list
of object, you can build a custom object ( for example a struct ) to put all
the information that you need (for ex page name, userID,page status &
more )

for shure this method is helpfull if you need to keep not only the name of
page, if you only need tha page of the name Michel Posseth show you the
better method
bye

Maurizio
"Joe" <Jo*@discussions.microsoft.com> ha scritto nel messaggio
news:BF**********************************@microsof t.com...
Dear ABC:
You may use a Session variable to store whether the user visits the
previous
page or not.
For example
Set: ->> Session("Page1visited") = "True" 'on the previous
page
Get: -->> If Session("Page1visited") = "True" 'on the current page
'From prev
else
'From other page
end if
Sincerely,
Joe Tsui
-MCSD.NET,MCAD.NET,MCDBA,MCP
"ABC" wrote:
How to I know the previous page is clicked to forward the current page?

As our web site have many methods to enter the web page, I need to know
the
users clicked which link or which part of page to enter the web page.

Jan 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mark ??;-\) | last post by:
I would like to display a listing of files on a web page as follows: If there is only one file: display the section name and then display the current file. If there is more than one file (for...
10
by: pmelanso | last post by:
Hello, How can I tell if there is a page to go back to in the history or not??? Same with forward??? say something like/// if (there is a page to go back to ) { // DO something }else { }
1
by: John A. | last post by:
This is a database in use on Terminal server, been reliable, no corruption problems. (so far) Designing a form, asked to save objects, Access put up a dialog box for the current form asking me...
7
by: ani | last post by:
I have two submit buttons in my form which need to validate two different controls on the page . How do I validate portions of the asp.net page. The two submit buttons should validate their...
5
by: Benjamin Bittner | last post by:
Hi all I have a to different input masks on one page. The first must be posted on itself, the second must be posted to another website and popup in a new window. My problem is, ive got one global...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
1
by: sri_san | last post by:
Hello, I am working on a website where I need to navigate to the previous page once the user clicks on "back" button. I store the previous page from the "HTTP_REFERER" Server variable and the...
2
by: ABC | last post by:
How to I know the previous page is clicked to forward the current page? As our web site have many methods to enter the web page, I need to know the users clicked which link or which part of...
1
by: Reb | last post by:
Hi all, I have not successfully found a Javascript sample for getting next and previous links from a file... I figured that someone must have solved this problem already! ... here is what I'm...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
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...
0
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.