SnippetMaster Support Forums
Return to main website
 
September 28, 2010, 10:34:43 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 28, 2010, 10:34:43 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Automatic Login « previous next »
Pages: [1] Print
Author Topic: Automatic Login  (Read 52 times)
moflint

Posts: 1


[-] Automatic Login
« on: September 06, 2010, 05:15:09 AM »

Hi,

Great product!

I have bolted this on top of another CMS that only manages product info and not pages. So I want to be able to login to Snippetmaster without going throught the login page, thus avoiding two separate logins.

I thought I could post a form with the credentials to snippetmaster/index.php, like this:

Code:
<form name="LoginForm" id="LoginForm" action="snippetmaster/index.php" method="post">
<input type="hidden" name="username" value="user">
<input type="hidden" name="password" value="password">
<input type="hidden" name="remember" value="Y">
</form>

... but this fails and I just go to the login page.

Can you give me a way of doing this please?

Thanks,
Mark
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Automatic Login « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!