Solved

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

Posted on 2012-04-06
3
168 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now