automatic login to a site via an iFrame browser?

952 views
Skip to first unread message

Alexis

unread,
Oct 3, 2008, 2:58:04 PM10/3/08
to TiddlyWiki
I discovered TiddlyWiki about 6 weeks ago, but just yesterday
discovered the many sites devoted to it and the amazing things it can
do. So, as a relative newbie, I was wondering if this was possible.

I was trying to set up a set of tabs in a tiddler, with each tab
having an iFrame that displays a website. I've got that working okay,
but several of the websites I wish to be visible require I log in. I
can log in and navigate the site in the iFrame, but if I move to a
different tab, and then back, I'm kicked back to the login screen.

Ideally, I would like the tiddler/tab to log in for me, via a script I
suppose. Is that possible?

Failing that, or perhaps in addition to it, is there anything that can
be done to the tab/tiddler that would cause it to retain its state,
even when I move to a different tab or close the tiddler.

Both the TW and the sites I'm trying to reach are on a local intranet,
behind the company firewall, so I'm not really worried about someone
extracting my passwords from the TW.

Thanks for any help you can give, and let me know if I'm asking the
impossible.

Alexis

FND

unread,
Oct 5, 2008, 5:58:13 AM10/5/08
to Tiddl...@googlegroups.com
> I can log in and navigate the site in the iFrame, but if I move to a
> different tab, and then back, I'm kicked back to the login screen.

That's odd - normally, the login state is saved in a browser cookie to
prevent exactly that. What happens if you open the respective site while
logged in on a different browser tab/window?

> Ideally, I would like the tiddler/tab to log in for me, via a script I
> suppose. Is that possible?

It would be possible, but it would likely require a different script for
each site.

> Both the TW and the sites I'm trying to reach are on a local intranet

That makes it hard for us to investigate this issue, of course -
however, intranet sites often use odd techniques that might prohibit you
from staying logged in.


-- F.

Alexis

unread,
Oct 6, 2008, 1:28:17 PM10/6/08
to TiddlyWiki
Thanks for the reply.

I've found part of the issue. I was linking directly to a deeper page
of the site. If I point the iframe at the main page of the site, then
it keeps the login state. The site I wanted to link directly to is one
click from the login. So not ideal, but it works. If I point it
directly at the page I want, then I get the login screen, even if I've
just logged in, and even if I have the site open in another tab in
Firefox.

Wait..

Okay, Now I've got a completely different mystery to solve. The main
site's URL works, and the deep link works now. I was apparently using
the wrong URL for the deep link. Somehow I got a link that ends in .../
index.php, instead of .../home.php. They both work, but the /index.php
forces a login each time.

Well, thank you for your help. You got me pointed in the right
direction.

Alexis

FND

unread,
Oct 6, 2008, 2:58:10 PM10/6/08
to Tiddl...@googlegroups.com
> I've found part of the issue. I was linking directly to a deeper page
> of the site. If I point the iframe at the main page of the site, then
> it keeps the login state.

Yep, that definitely sounds like a corporate intranet page...


-- F.

Reply all
Reply to author
Forward
0 new messages