close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login page on one domain to log in to pages on another domain

Thread began 4/03/2013 9:44 am by iainmacdonald331081 | Last modified 4/03/2013 2:54 pm by iainmacdonald331081 | 729 views | 2 replies |

iainmacdonald331081

Login page on one domain to log in to pages on another domain

Don't ask, not my idea.

I'm assuming this is a no no.

Basically I have been working on a big project that uses a common database to serve up data to a few different websites.

For one reason or another various log in and database admin parts have been built on three different sites.

I had thought we had now settled on moving everything over to the site which is kind of the umbrella site for the others. Which I thought made absolutely good sense.

So having done a whole heap of that, the site owner then suggests having a log in page on another site (so as not to confuse the people registered), but then take them to admin pages on a different site.

I'm assuming this is a big deal breaker. Which suits me, as I think it would be less confusing with all this stuff on the same site, with logos and text to explain why it was there.

Sign in to reply to this post

Jason ByrnesWebAssist

when a person logs in, the login stores data for the user in session variables.

session variables are domain based, the session created on one domain cannot be used on another domain.

you could store the sessions in hidden form elements, post the form to the other domain, and use the set session value behavior to set the sessions again on the other domain, but this will become very cumbersome to manage.

what happens if the login on domain 1, post the session details to domain to, on domain 2 they update something in the account that is stored in the session? it's easy enough to rest the session on domain 2, but now you also need to account for updating it on domain 1

Sign in to reply to this post

iainmacdonald331081

Thanks Jason - I assumed it was either not possible, or if it was, it would be more trouble than it could ever be worth.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...