I, as most of us do, have users that bookmark the login screen

http://<midtier-server>/arsys/shared/login.jsp

When they do that they get an error about not having all of the parameters
mapped, they click the 'return to home' button...re-login and they get to
the home page.  I got sick of fielding these production support questions so
I came to the list and inquired about how to eliminate them.  I was told
that if I change these two lines it would work grand

<input type="hidden" name="server" value="<%=server%>" >
<input type="hidden" name="goto" value="<%=nextPage%>" >

If you hard-code those two lines with values it works great...any time
anyone gets to the login page and login they go to the home page....which is
great with exception of hard coded URL's that are designed to take them to
specific entries instead of the home page.  So I got the brilliant idea to
Check to see if nextPage is null...and if it is...set it to /arsys/home...if
not...let it be what it is....but there is the rub...I'm not a JavaScript
GURU to be able to do that...any suggestions?...I've tried several things I
found on the web for checking JSP variables via Javascript but none of them
seem able to properly return the current value of nextPage.

TIA

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to