Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 28, 2009, 09: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, 12: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, 06: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, 09: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Safari First Screen When Trying To Access Internet - Can You Change Default Size? gandalf72 iPod touch 3 Aug 8, 2008 02:38 AM
java: trying to access terminal, trying to make an alias zredbaron Mac Programming 5 Apr 10, 2008 09:39 AM
Newbie trying to access Windows Server Shares - Help! maclamb Mac Basics and Help 1 Sep 13, 2005 04:13 PM


All times are GMT -5. The time now is 02:29 PM.

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

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