Re: Previous Link
From: avnrao (avn_at_newsgroups.com)
Date: 06/23/04
- Next message: Sun Tzu: "Re: Positioning buttons via HTML"
- Previous message: John Timney \(Microsoft MVP\): "Re: Positioning buttons via HTML"
- In reply to: Brian Shannon: "Previous Link"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Jun 2004 21:19:40 +0530
Hi Brian,
use Request.UrlReferrer which contains the referrer to the current page.
hth,
Av.
"Brian Shannon" <bshannon@lbrspec.com> wrote in message
news:ePhkqiTWEHA.1652@TK2MSFTNGP09.phx.gbl...
>I have security access to certain pages on my intranet and use sql server
>to
> store the user name and passwords and who has access to what pages.
>
> If a user clicks a link and is not logged in they are redirected to the
> login page and once sucessfully logged in they are redirected to the
> orginal
> page trying to get into.. Currently if the use gets redirected to the
> login
> page I have the goto link hardcoded in session variables.
>
> I would like to know if there is a way to get the referring link? So,
> when
> the user gets redirected to a login page I can use code to find the
> previous
> page?
>
> Thanks
>
>
- Next message: Sun Tzu: "Re: Positioning buttons via HTML"
- Previous message: John Timney \(Microsoft MVP\): "Re: Positioning buttons via HTML"
- In reply to: Brian Shannon: "Previous Link"
- Messages sorted by: [ date ] [ thread ]