location

What is the location of session cookies in IE7?

Should I be able to see per-session cookies, created by IE7 (on Vista) here: C:\Users\myUsername\AppData\Local\Microsoft\Windows\Temporary Internet Files That is where my standard cookies are stored. ...

Window.Location???

Is there a way to manually set a WPF Window's location like in Windows-Forms? ...

capture mouse location in mdiparent window

Hi All, I wanted to capture mouse location in mdiparent, in mdiparent i have added a webBrowser control which is docked to parent(mdiparent). so i am unable to get mouse location on webBrowser, as it doesn't have any Mouse event. please guide me... Thanks, Makki ...

Highlighting current page in the nav

Hi I need to highlight the current page in my left nav. The nav has to be loaded externally via an .shtml include: <!--#include file="leftnav-menu.inc"--> My urls take the form of: www.xxx.com/mission-critical.shtml but sometimes just: www.xxx.com/energy.shtml (eg one word no hyphen) My nav lists it as 'Mission critical' How ca...

Returning from viewing a record to that specific record in a paginated data set

I have a simple Rails app and for example purposes we'll say I have a customer model. If I have 1000 customers and I'm on page 6 when I click to view the details on a specific customer, what would be the best method so when I click a "Return to list" link, that it takes me back to page 6 and possibly even does a scroll to an anchor that...

Getting the full URL of the current page (PHP)

I'm working on this page: http://localhost/projectname/custom.php Both <?php echo $_SERVER['REQUEST_URI']; ?> and <?php echo $PHP_SELF; ?> don't give full location. What should I use to grab the full url location? Thanks ...

How do I implement page authorizaton in ASP.NET using a SQL store instead of web.config?

For instance, the way we're doing it now is like thus: (in the web.config) <location path="somePath"> <system.web> <authorization> <allow roles="approvedRoles"/> <deny users="*"/> </authorization> </system.web> </location> And what I would like to do instead is to store this information in SQL somewhere so that we can mani...

Stop Returning Cached CLLocationManager Location

Hi Everyone: I am wondering if there is some way to make it so CLLocationManager doesn't automatically returned a cached location. I understand that the documents say "The location service returns an initial location as quickly as possible, returning cached information when available" but this cached location could be extremely far awa...

How can I get longitude, latitude of phone in Android?

I read some tutorials online, and found that LocationManager does this. This is the code I found online. However, I don't get it. Why can't I just get the long/lat? Why go through all the "change" location things... lm=(LocationManager)this.getSystemService(LOCATION_SERVICE); lm.requestLocationUpdates(LocationManager.NETWORK_PROVIDE...

Define the location of Java fatal error log in runtime

Hi, is there any way to define the location of the fatal error logs in Java (hs_err_*.pid.log) in the runtime? I know from [1] that I can set the location as parameter, but I want to change it in runtime. Philip [1] http://java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/felog.html ...

How to emulate gps location in the android Emulator?

I want to get longitude and latitude in android emulator for testing. Can any one guide me how to achieve this? How do I set the location of the emulator to a test position? ...

Using relative url for window.location in child iframe

Hi, I'm having trouble with an iframe-related issue. I have a document (parent) with an iframe (child). If the parent document calls a function in the child which changes the childs url using window.location to a relative url, that url becomes relative to the parent document. Let me illustrate. Parent document: /test/parent.html ...

Core Location while iPhone locked

Hi, I was reading your comment below: "I don't know what you mean by "power save" mode, but if you're thinking of when the screen is locked/off, that does not stop Core Location from running if your app is still running. On the contrary it's easy to run down your phone's battery much more quickly than you'd expect if you lock the phone...

Android: Location.distanceBetween units and emulator not sending coordinates properly

Hy everyone, I have two questions 1) I have not been able to find out in which units Location.distanceBetween receivs the latitude and longitude. Is it degrees or microdegrees? Whats the unit for the distance returned? Sorry for this noob questions but I have not been able to find anything on the documentation. 2) In windows XP using E...

User location information mapping with lastfm music track history in python

I have two separate python scripts. One is for getting user location information (which I get from web based geofeed provider.User Gsm is registerd with that services).Another is for retrieving lastfm user track history.I have already able to get user location data and user music track information. Goal is to map those two script in su...

File from msi location

I would like to copy file that placed near the msi to the program file folder. I have the next code in my project: <DirectoryRef Id="Global.txt"> <Component Id="Global.txt" Guid="263B6F39-BE6B-4b51-8AE4-4D152436F0AE" DiskId="2" NeverOverwrite="yes" Permanent="yes"> <File Name="Global.txt" Source="./Global.txt" Compressed="no" Dis...

LocationManager in 2.1 not working?

Hello, I have been trying to get the following code to work for the last 4 hours. public void clearLocation() { LocationManager locMan = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locMan.clearTestProviderLocation("gps"); My problem is that it will only work with Android 1.5. On 1.6 and newer it...

Drupal views filters dynamically

Hi, I am integrating location with views modules in the filters options I find a distance/proximity filter, I need to dinamically set latitude and longitude using geolocation html5 feature. Anybody have an idea to help me??? I try Service module too, to make json requests but I dont know how to add filters paramenters. Thanks your help...

Recreate "gps" LocationProvider after removal?

Hi. I'm currently having some problem with my application. I accidentally ran the following code: locationManager.removeTestProvider("gps"); And now i obviously can't get a GPS fix in google maps.. have to reboot. But my app need to remove the original GPS provider to create it's own fake one. So im just wondering if it's possible t...

In SOLR, how can I get the position of highlighted snippets within associated field?

I want to display my search results in a google-like way: <title> ...<snippet>...<snippet>...<snippet>... <link> I'm concatenating the highlighted snippets, but I need to know when the snippets are at the beginning of the end of the content field (do decide whether to put the starting/ending "..."'s in) Does anyone know how I can get...