By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,247 Members | 1,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,247 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.