Is the method on the form a post? Anyway, here's a snippet of some JSP code
I use for my sessions.
session.putValue("con",con);
session.setMaxInactiveInterval(900);
session.putValue("CODE",code);
session.putValue("LANGUAGE",language);
Here's how I'm pulling the submitted fields:
nm=request.getParameter("txtName");
pwd=request.getParameter("txtPassword");
cemail=request.getParameter("txtCurrentemail");
(after declaring all variables at the top of the code)
I hope this helps, you're welcome to drop me a line at the number below if
not.
Matt
Java Internet Programmer
Jupiter One, Web World Studios WC
www.jupiterone.com
(818) 763-2927
----- Original Message -----
From: "Makarand" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 11:42 PM
Subject: URGENT HELP REQUIRED....( Problem in Multipart/Form-Data Upload)
> Dear Friends,
>
> I am using enctype="multipart/form-data" for the first form (one.jsp); I
am
> also doing URL rewriting in one.jsp to send accross the session and
storing
> the variable in the HttpSession using the method setAttribute() and then
> trying to retrieve the same in the second form (two.jsp) through
> HttpSession's getAttribute() method; but, I am not able to get the session
> id which I have set in the first page (one.jsp) when cookies are disabled.
> Could anyone help me out with this issue so that I can make some settings
so
> that I can get the session in the second form.
>
> The two files I mentioned above are attached alongwith.
>
>
> Best regards,
>
> Makarand.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists