Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 28, 2009, 10:24 AM   #1
md11
macrumors member
 
Join Date: Jul 2005
Location: Europe
Widget Problem, trying to access Safaris cookies.

Hi
I designed a Dashboard widget with Dashcode, which logs into a website and retrieves data.
Works all.
But the login to the website is also possible with a permanent login option, which then sets a sessionID-cookie with an expiry date in 2012.
If this function is turned on in the browser, the widget does not work. Is there a way to get the cookie from safari into the widget? All my tries with document.cookie did not work out - when I know how to access the cookies from the widget, I can finish by myself, but I have no idea how to get to the local file.
Anybody has an idea?
TIA
Harry
__________________
MBP 2.33
md11 is offline   0 Reply With Quote
Old Mar 28, 2009, 01:14 PM   #2
Awesomeness
macrumors member
 
Join Date: Feb 2009
That would be very difficult. It'd probably involve Terminal. I don't know how...
Awesomeness is offline   0 Reply With Quote
Old Mar 29, 2009, 07:21 AM   #3
md11
Thread Starter
macrumors member
 
Join Date: Jul 2005
Location: Europe
Quote:
Originally Posted by Awesomeness View Post
That would be very difficult. It'd probably involve Terminal. I don't know how...
Thank you, I supposed so - maybe anyone else knows an easier way to the cookies.
__________________
MBP 2.33
md11 is offline   0 Reply With Quote
Old Apr 2, 2009, 10:49 PM   #4
md11
Thread Starter
macrumors member
 
Join Date: Jul 2005
Location: Europe
Ok, an update for anybody facing somewhen the same problem:
I used the widget.system command to access the terminal, and there I am using the Grep command.
__________________
MBP 2.33
md11 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Cookies! I need more cookies! (Cookie clicker) mur3ik iPhone and iPod touch Apps 0 Nov 29, 2013 10:56 AM
Scripts and cookies required to access MR VulchR Site and Forum Feedback 2 Aug 9, 2013 05:42 AM
iPhone: Problem with Mone's 'SB Big Weather' widget DigitL Jailbreaks and iOS Hacks 5 Mar 20, 2013 06:25 PM
iStat Widget Problem! macuser1232 Mac Applications and Mac App Store 17 Oct 31, 2012 04:28 PM
Problem with GPS widget updating Jman13 Jailbreaks and iOS Hacks 1 Jul 27, 2012 11:25 PM

Forum Jump

All times are GMT -5. The time now is 07:23 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC