Solved

How to get this value on sever when a client run any html file.

Posted on 2012-04-06
3
172 Views
Last Modified: 2012-05-08
Suppose i have a.htm on my client,
I can get its location with location.href.split("/").slice(0,-1).join("/")
And suppose a.htm is calling mysite.com/index.aspx
Can i get the output of location.href in my server variable
0
Comment
Question by:searchsanjaysharma
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 37815391
Hi searchsanjaysharma,

Sure You can.

First get the required values from the location.href and say you are storing those values in a variable called hrefData.
and then in your JavaScript when you call your aspx page

call your page like this : mysite.com/index.aspx?value=hrefData

Regards,
Chinmay.
0
 

Author Comment

by:searchsanjaysharma
ID: 37885199
ok
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 37945268
ok
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question