Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How do I get the calling page?

Reply
Thread Tools

How do I get the calling page?

 
 
wolfing1@yahoo.com
Guest
Posts: n/a
 
      05-19-2005
is there a way of getting the page that called the current page? Like,
I'd like to add a 'back' button that fills some info and then sends to
the previous page, which could be one of many pages that can call this
current page.
So, other than adding a form hidden field and passing it at submit or
whatnot, is there something like session('callingpage') or something
like that?

 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      05-19-2005
The best your going to get is the HTTP_REFERER property;

Response.Write Request.ServerVariables("HTTP_REFERER")

Note however, this is by no means practical as some clients choose to "hide" or block this information

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

<> wrote in message news: oups.com...
> is there a way of getting the page that called the current page? Like,
> I'd like to add a 'back' button that fills some info and then sends to
> the previous page, which could be one of many pages that can call this
> current page.
> So, other than adding a form hidden field and passing it at submit or
> whatnot, is there something like session('callingpage') or something
> like that?
>


 
Reply With Quote
 
 
 
 
Kyle Peterson
Guest
Posts: n/a
 
      05-19-2005
http://www.powerasp.com/content/code...-variables.asp


<> wrote in message
news: oups.com...
> is there a way of getting the page that called the current page? Like,
> I'd like to add a 'back' button that fills some info and then sends to
> the previous page, which could be one of many pages that can call this
> current page.
> So, other than adding a form hidden field and passing it at submit or
> whatnot, is there something like session('callingpage') or something
> like that?
>



 
Reply With Quote
 
wolfing1@yahoo.com
Guest
Posts: n/a
 
      05-19-2005
Beautiful! it worked
And thanks for the prompt responses!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Get ubuntu ! Get ubuntu ! Get ubuntu ! Get ubuntu ! Getubuntu Windows 64bit 1 06-01-2009 08:54 AM
calling virtual function results in calling function of base class... Andreas Lagemann C++ 8 01-10-2005 11:03 PM
Calling FormsAuthentication.SignOut() after calling Response.Flush =?Utf-8?B?TWFydGluIExlZQ==?= ASP .Net 1 09-28-2004 12:47 PM
Server Side button calling page_load before calling it's own click event. Ryan Ternier ASP .Net 4 07-29-2004 01:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57