html - automatic login to website only works when session is made -


i'm making offline webpage automatically logs online website. website uses ssl (https) , login uses form (post variables)

the problem i'm encountering following: site accepts offline form, when open online login page first. because website uses (server-side) sessions made when opening first page. (the purpose of session detect time-out)

when first open online website , run offline page works fine.

so need make offline webpage open online website before posting form automatically.

i tryed iframe, doesn't work in internet explorer, https website. (it work in chrome, firefox,...)

i wondering if ajax send https page request before posting form. guess not https.

does know method send https page request browser does, without showing it's output? afterward can automatically submit form.

thanks in advance!

internet explorer treats iframes other domains third party content, , uses separate set of security policies them. security zone settings in effect between file:/// "local machine"/"offline" webpages , "internet"/"online" webpages. cookies blocked third party content (depending on settings), means unique session key set in cookies won't saved. without key, site trying log in "forget" session/login.

cross-domain ajax request affected security zones , cross-domain policies, settings may differ between ie versions.

there ways around limitations, using p3p policies, if control target web page. cookie blocked/not saved in iframe in internet explorer shows how. but, if own web page, better enable or implement own "remember me" feature.

in case, depending on if 1 use offline autologin webpage, perhaps allowing third party cookies in internet explorer help. see options > privacy > allow cookies (or in similar). allow others (mostly ad companies) track on internet though.

if purpose autologin page testing, rather using browser human being, perhaps can automate both logging in , testing?


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -