Home All Groups Group Topic Archive Search About

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

Author
14 Jan 2006 3:17 AM
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.

Author
14 Jan 2006 11:47 AM
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


Show quoteHide quote
"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.
>
>
>
>
Are all your drivers up to date? click for free checkup

Author
14 Jan 2006 1:53 PM
libero familymac news
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


Show quoteHide quote
"Joe" <J**@discussions.microsoft.com> ha scritto nel messaggio
news:BF852368-0003-49D4-9982-B0195B8CEAB5@microsoft.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.
>>
>>
>>
>>

Bookmark and Share