Current time: 12-28-2024, 04:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
Login from external
Author Message
xantios Offline
Newbie
*

Posts: 7
Joined: Feb 2010
Reputation: 0
Post: #1
Login from external
Hi!

I'm currently trying to get a login-script to work implemented to my site.
Though,ispCP is making it loop/trrowhs error's.

the code im using to get the login box is copy/pasted from the original login.
Code:
<form name="frm" action="http://panel.mydomain.com/index.php" method="post">
<img src="images/user.png" alt="UserIcon"/>&nbsp;<input type="text" name="uname" id="uname" value="" maxlength="255" tabindex="1"><br />
<img src="images/lock.png" alt="PasswordIcon"/>&nbsp;<input type="password" name="upass" id="upass" value="" maxlength="255" tabindex="2"><br />
<input type="submit" name="Submit" value="Login" tabindex="3">
</form>

So,that aint that exiting is it?

in ispCP i already switched off the `Prevent external login´ function.
Still,when i use to login use code above,
i´ll get a error: " Gebruiker is al ingelogd of er is een session sharing probleem. Afgebroken..."

(In english that would be: There is a session sharing problem,Canceled." or something)

is there some-kind of cheking going on that i havent seen?
Or any other way arround for doing this?

Thanks for reading,
XK
03-09-2010 10:08 PM
Find all posts by this user Quote this message in a reply
xantios Offline
Newbie
*

Posts: 7
Joined: Feb 2010
Reputation: 0
Post: #2
RE: Login from external
Oh,nevermind.. already figured it out.

Seems that you need to destroy your session before using this code.

So,if you want to login to ispCP from a site that is not part of ispCP
you can copy/past my code as mentioned above,
after that,you just go to your panel and LOG OUT!

afther that is complete,you can use my litle piece of html for logging-in from for example your hosting-website.

Greetz,
03-10-2010 08:04 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)