List Info

Thread: Re: referring url




Re: referring url
user name
2007-01-31 01:06:55
Thank you for your response.

I have tried a few things including similar to yours. No
luck.

I am trying to detect users who are comming back to a page
when they click 
"back" as I want to clear all sessions if this is
the case.

Is clicking the "back" button considered a
referring url?

Racahel


>From: "Usman Ghani" <usman818gmail.com>
>Reply-To: AspNetAnyQuestionIsOk@yahoogroups.com
>To: AspNetAnyQuestionIsOk@yahoogroups.com
>Subject: Re: [AspNetAnyQuestionIsOk] referring url
>Date: Wed, 31 Jan 2007 10:03:21 +0300
>
>U think this would work for you?
>
>
>   Private Sub Page_Init(ByVal sender As System.Object,
ByVal e As
>System.EventArgs) Handles MyBase.Init
>         'CODEGEN: This method call is required by the
Web Form Designer
>         'Do not modify it using the code editor.
>         InitializeComponent()
>
>         Dim SiteNameURL As String =
Request.ServerVariables("SERVER_NAME")
>         Select Case SiteNameURL
>             Case "www.myWebSiteA.com <http://www.myweb
sitea.com/>"
>                
Response.Redirect("websiteAbegin.aspx")
>             Case "www.myWebSiteB.com <http://www.myweb
siteb.com/>"
>                
Response.Redirect("websiteBbegin.aspx")
>             Case Else
>                
Response.Redirect("error.aspx")
>         End Select
>     End Sub
>This is further forwarding but u can do whatever u want
as per your
>requirement.
>
>Regards,
>
>Usman
>
>
>On 1/31/07, Rachael Colley <rrakky89hotmail.com> wrote:
> >
> >   Hi all,
> >
> > I would like to find out the referring url when a
page loads.
> >
> > How do I write that?
> >
> > Thank you,
> >
> > Rachael
> >
> >
__________________________________________________________
> > Advertisement: 50% off on Xbox 360, PS and
Nintendo Wii titles!
> > 
>http://www.play-asia.com/SOap-23-83-4l
ab-71-bn-49-en-84-k-40-extended.html
> >
> >
> >
>
>
>[Non-text portions of this message have been removed]
>

____________________________________________________________
_____
Advertisement: Amazing holiday rentals? 
http://a.ninemsn.com.au/b.aspx?UR
L=http%3A%2F%2Fwww%2Eninemsn%2Erealestate%2Ecom%2Eau%2Fcgi%2
Dbin%2Frsearch%3Fa%3Dbhp%26t%3Dhol%26cu%3DMSN&_t=7588741
63&_r=HM_Txt_Link_Holiday_Oct06&_m=EXT



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )