Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

22 Experts available now in Live!

Get 1:1 Help Now