When you have knowledge of the values for username, password then Insert username,password as Session Variables
Then access the Session Variables later when needed

Dobrzy Szansa
Martin-
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>; <[EMAIL PROTECTED]>
Sent: Tuesday, May 24, 2005 12:42 PM
Subject: Re: Autologin?


I haven't done this, but I think that you will want to set up an Action that manually prints the response contents, where the execute method will return null rather than an ActionForward reference. Then you should be able to set your permanent cookie before you write your response body. Not sure if there are other ways.

Erik


-----Original Message-----
From: Janek Ziniewicz <[EMAIL PROTECTED]>
Sent: May 24, 2005 11:37 AM
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Autologin?

I have problems with user logging in my application. Basically I want
to have functionality same
as on gmail.com -- if I have a proper cookie forward me to inbox
omiting login page.

I know how to play with cookies but struts part of the task is a problem for me.
--
Pozdrawiam,
Janek Ziniewicz
gg: 902858
irc.freenode.net: #gore, #dub

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to