Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Customizing Controls

web-app

Hi all

After my first time installing an internet facing Gemini, I am receiving alot of intermittent errors...anyways..before I get to that I would like to customize the login and logout events.
Here's the ideal scenario I would like to create:
A user should directly log into gemini from my company's website and once the user click the logout button, they should automatically go back to my company's default home page.....any ideas on how to achieve this, as I cannot (for obvious reasons) access the code files....

Any help wuld be greatly appreciated....

Bheeks
· 1
Bheeks
Replies (15)
helpful
0
not helpful

You could use the SSO page to pass in the credentials from your company's log in page.

As for log out, you can amend the default.aspx page to redirect to your company's home page.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thank you so much for the advice...really appreciate it.

I would also like to mention that the version we are using is ver 3.0.3. Does your suggestion still apply?


Bheeks
· 1
Bheeks
helpful
0
not helpful

Yes.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

hey there...

thanx once again for your help. I have managed to do what you said and I have now installed the scheduler service but I am receiving the following error when I try to run the gemini.asmx file from my browser

The type 'Gemini.GeminiWS' is ambiguous: it could come from assembly 'E:\Website\i2nfocom\Gemini\bin\CounterSoft.Gemini.DLL' or from assembly 'E:\Website\i2nfocom\Gemini\bin\CounterSoft.Gemini.Web.DLL'. Please specify the assembly explicitly in the type name.

 

Seems that I need to specify which assembly it needs to use


Bheeks
· 1
Bheeks
helpful
0
not helpful

Is this an upgrade?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

yes it is...


Bheeks
· 1
Bheeks
helpful
0
not helpful

You need to remove the old DLLs.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi

thanks for the reply..I have tried that...but for some reason...there are alot of errors with regards to login in..I have setup th login to work from my company website, to login directly into gemini...once I remove the 'old' DLL's, I sit with a login problem that occurs on the SSO page


Bheeks
· 1
Bheeks
helpful
0
not helpful

Did you try SSO via the browser? Also what is the URL you are using?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

yes...which url?..our company one?...it looks something like this... http://www.company.com/Gemini/Main.aspx


Bheeks
· 1
Bheeks
helpful
0
not helpful

The url to the sso page.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

 

Hi there

 

below is the link and trailing is the error I would receive once I remove the 'old' DLL's

http://www.companyName.com/gemini/sso.aspx?

 

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'Gemini.SSO'.

Source Error:

Line 1:  <%@ Page language="c#" Codebehind="SSO.aspx.cs" AutoEventWireup="false" Inherits="Gemini.SSO" %>
Line 2:
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >


Bheeks
· 1
Bheeks
helpful
0
not helpful

This is the old path, the new one is: http://www.companyName.com/gemini/security/sso.aspx?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

cooooollll.....haha....thanks bro...

just one more thing....at the moment...how the login was setup in the past by one of our previous employees...was by passing the user name and password from our company webite via the url and then into the SSO page.

below is the sample code

Response.Redirect("http://www.company.com/gemini/security/sso.aspx?u=" + txtUsername.Text.Trim().ToString() + "&p=" + txtPassword.Text.Trim().ToString());

this is not ideal, as the user name and password is visible in the url, do you perhaps know of a way around this?


Bheeks
· 1
Bheeks
helpful
0
not helpful

Yes, you can enter a hash key to use when passing the password.

This is done via the Administration -> Security General page.


Saar Cohen
· 5000
Saar Cohen