Ask a Question related to Dreamweaver AppDev, Design and Development.
-
steel_quill #1
Capturing the whole URL
I am working with a site where I want a user to be able to select whether they
are viewing a high or low bandwidth version of the website. I would like to
build the pages so that when the user chooses to change the bandwidth, they are
taken to a page with a form on it where they make the change, and when the form
is submitted, they are returned to the page they were last on.
In order to do this, I need to capture the url of the page they are on when
they choose to change the bandwidth in order to send them back to it later.
Does anyone have any ideas about how to do this? I have been nosing around the
internet and can find plenty of information about how to pass variables in the
url, but not about how to capture the entire url itself. I am working in DW MX
and using ASP.
Thanks!
steel_quill Guest
-
Capturing IP Address
Hi, How can we capture users' IP Address with ColdFusion? Onnuri -
Capturing streaming SWF.
Hi, I'm looking for a way of getting files from www.singtotheworld.com STORED on PC. For those who don't know about it - it's a STREAMING... -
capturing SWFs
Hi all - am hoping someone might be able to help - I am hoping to be able to capture the flash files from sites I visit and build a database of them... -
Capturing FCP on AIX
Hi. I was wondering if anyone knows if it is possible to capture FCP (SCSI over fiber channel) using ethereal, tcpdump, or some other tool on... -
capturing reloads
anyone know how to catch if someone has reloaded a page? -
bthouin #2
Re: Capturing the whole URL
I always wondered what this line that DW is inserting (in Javascript) does:
var MM_editAction = Request.ServerVariables("SCRIPT_NAME");
Isn't that turning out the url of the current page ?
Try it out. HTH
Bernard
steel_quill wrote:> I am working with a site where I want a user to be able to select whether they
> are viewing a high or low bandwidth version of the website. I would like to
> build the pages so that when the user chooses to change the bandwidth, they are
> taken to a page with a form on it where they make the change, and when the form
> is submitted, they are returned to the page they were last on.
>
> In order to do this, I need to capture the url of the page they are on when
> they choose to change the bandwidth in order to send them back to it later.
> Does anyone have any ideas about how to do this? I have been nosing around the
> internet and can find plenty of information about how to pass variables in the
> url, but not about how to capture the entire url itself. I am working in DW MX
> and using ASP.
>
> Thanks!
>bthouin Guest
-
Kindler Chase #3
Re: Capturing the whole URL
steel_quill wrote:
Dim strPage 'the current page, i.e., /clients/default.asp> I am working with a site where I want a user to be able to select
> whether they are viewing a high or low bandwidth version of the
> website. I would like to build the pages so that when the user
> chooses to change the bandwidth, they are taken to a page with a form
> on it where they make the change, and when the form is submitted,
> they are returned to the page they were last on.
>
> In order to do this, I need to capture the url of the page they are
> on when they choose to change the bandwidth in order to send them
> back to it later. Does anyone have any ideas about how to do this? I
> have been nosing around the internet and can find plenty of
> information about how to pass variables in the url, but not about how
> to capture the entire url itself. I am working in DW MX and using
> ASP.
>
> Thanks!
Dim strQS 'the querystring (if any)
Dim strURL 'the current page + any URL params
With Request
strPage = .ServerVariables("SCRIPT_NAME")
strQS = .ServerVariables("QUERY_STRING")
End With
strURL = strPage & "?" & strQS
--
kindler chase
[url]http://www.ncubed.com[/url]
Home of SuperInvoice's Fortress of Solitude
[url]news://news.ncubed.com/support[/url]
n3 Support Group
Kindler Chase Guest



Reply With Quote

