Comments (6)
Great suggestion.
Re-categorizing as "enhancement".
This will take some work/research. If you have a specific timeline you need
this by, please email me. It appears Java has basic support for this built-in,
however I haven't read the examples yet.
http://java.sun.com/products/plugin/1.2/docs/cookie.html
-Tres
Original comment by [email protected]
on 22 Jan 2012 at 3:45
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from jzebra.
Thank you for the quick reply.
I am integrating jZebra as we speak, the launch is supposed to be in a couple
of months. I am trying to find a work around, but it would be great to have
this feature soon.
Thanks,
Thomas
Original comment by [email protected]
on 23 Jan 2012 at 1:08
from jzebra.
It may not be feasible, depending on the security architecture of the browser.
If the session coookie is sent by the application as 'http-only', the java
Applet may not have access to its value.
There is a workaround if you consider the global picture : the session
identifier is usually known by your application (in PHP, you access it through
the session_id() function), so you can change the url in your application
accordingly.
For instance, in PHP, the code will look like :
$url='http://mysite.org/getzpl.php?'.session_name().'='.session_id();
echo 'document.jZebra.appendFile("'.$url.'");'."\n";
Original comment by [email protected]
on 25 Jan 2012 at 10:58
from jzebra.
I began research on this... Here's what I've found: (quoted from sun's site)
This suggests that it should already work. Please email me so I can better
understand how you are using it. It suggests Netscape (which would be Firefox
now) wants the applet and the web page to be in the same location (which I find
ugly).
-Tres
Currently, cookie support in Java Plug-in is triggered automatically when a
HTTP connection needs to be made.
HTTPS support in Java Plug-in 1.2.2 provides bi-directional cookie support.
HTTPS is entirely implemented using the browser's API and cookies are handled
automatically by the browser.
To ensure cookie support in Java Plug-in will always work as expected, we
recommend the following:
make sure the document base is part of the codebase of the applet
make sure cookie policy is set correctly
your web server should not set cookies in the HTTP connection from the applet
Original comment by [email protected]
on 1 Feb 2012 at 2:01
from jzebra.
Here is another useful post on the subject, which requires turning off
"Http-Only" option in ASP.NET. Not sure if it applies.
http://stackoverflow.com/questions/201699/sharing-asp-net-session-cookies-with-a
-java-applet
Original comment by [email protected]
on 1 Feb 2012 at 2:17
from jzebra.
@Thomas: Since cookie support seems to be built-in to Java SE, the any cookie
limitations introduced by Java are not jZebra bugs. Closing as invalid based
on my investigation. If you find this to be incorrect, please reopen.
Original comment by [email protected]
on 16 Mar 2012 at 1:53
- Changed state: Invalid
from jzebra.
Related Issues (20)
- ESCP for image append incorrectly using CPCL HOT 2
- Printing a receipt in arabic HOT 4
- Printing on multiple printers HOT 4
- JRE Version 7 Update 25 breaks jZebra 1.4.9 HOT 8
- jzebra applet won't register in asp.net secure webapp HOT 1
- Exception in thread "Thread-28" java.lang.SecurityException: HOT 4
- PDF Size HOT 1
- Print Thai Language to the printer, is show '??????' HOT 4
- Can't print to multiple printers simulatanously HOT 3
- Euro sign does not print in CP869 HOT 10
- Not all jobs are recieved by printer HOT 2
- "applet.findPrinter() is not a function" on Mac OS HOT 2
- Multiple labels printing randomly stop HOT 3
- Unable to print mixed chinese & english character
- Printing problem for mixed english & chines character for intermec 4440 printer HOT 1
- Document not printed oh hp laserjet p1102 HOT 3
- Upgrading jzebra to 1.4.7 or 1.5.6 crashes the webpage HOT 7
- Printer stop randomly HOT 3
- PostScript Always Selects Default Printer, OSX Java 7
- Java security issue that selfsigned sertificates will not work in next JDK release HOT 95
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jzebra.