Hi Tom,
Thanks for the solution.
As per your solution I modified the lines to
<input type="password" name="password" id="password" class="stdwidth"
value="<?php echo getval("password",'') ?>"
<?php if (!$login_autocomplete) { ?>AUTOCOMPLETE="OFF"<?php } ?> />
And then I passed the UID and Password in URL as below:
http://102.168.0.10/KrisDAM/login.php?username=City&password=C1tyL0n
It does insert the User Name and Password in respective text boxes but
it doesn't login automatically to DAM home page.
I had to press Login button.
Please help me to login to home page with out pressing Login button.
On Jan 25, 8:06 pm, Tom Gleason <
t...@buildadam.com> wrote:
> That's because RS doesn't support sending username and password through the
> url.
>
> you could add a value getter in line 230 of login.php,
>
> <input type="password" name="password" id="password"
> class="stdwidth"*value="<?php echo getval("password",'') ?>"
> * <?php if (!$login_autocomplete) { ?>AUTOCOMPLETE="OFF"<?php } ?> />
>
> but, it's not secure to be sending passwords in plain text in urls.
>
> On Tue, Jan 25, 2011 at 8:29 AM, Krishnam <
krishnam.vi...@gmail.com> wrote:
> > Hi all,
>
> > Need auto login help through ReturnURL.
>
> > I am passing User ID and Password from a URL to ResourceSpace login
> > page from another page in which I am already logged in.
>
> >
http://102.168.0.10/KrisDAM/login.php?ReturnUrl=Default.aspx&username=
>
> <UserField:emailUsername>&password=<UserField:emailPassword>
>
> > On the Login page its inserting the User Name from the ReturnUrl value
> > but its not inserting the Password also its not logging in to RS site.
>
> > Please advice.
>
> > Thanks and regards,
> > Krishnam
>
> > --
> > You received this message because you are subscribed to the Google Groups
>
> "ResourceSpace" group.> To post to this group, send email to
resour...@googlegroups.com.
> > To unsubscribe from this group, send email to
>
>
resourcespac...@googlegroups.com<resourcespace%2Bunsubscribe@goog
legroups.com>
> .> For more options, visit this group at