This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes Session Data Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Session Data" Watch "Session Data" New topic
Author

Session Data

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
Hi Guys,
In my jsp i need to set the data that i have in my javascript into session.I know how to get the session data inside a javascript, but don't know how to set it.
Is their any way to do this.
Thanx
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56201
    
  13

The data will need to be posted to server-side code.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
So no way thru javascript
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56201
    
  13

Javascript can only perform client-side activities.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Data
 
Similar Threads
how to configure XA datasource
scope issues?
session timeout
session datas using JSTL in JS
ending the session of a form?