Community Forum

Is there a way to set session ID in HTTP request header?

Profile Image 2 Posts 2 Karma
Izumi posted this 19 June 2014

I am working on an application using Scriptx (version - 7.2.0.36) for printing.

When I call factory.printing.print() method, it accesses web server without setting session ID in HTTP request header and then web server returns new session ID in HTTP response(Set-Cookie) .

So session is different before and after printing using Scriptx factory.printing.print() method.

Please let me know the following;

1. the reason why factory.printing.print() method accesses Web server.

2. the reason why factory.printing.print() method does not set session ID in HTTP request header when it accesses Web server.

(Is there any way to set session ID in HTTP request header?) 

Following is my working environment:

Client PC:

   IE version: 8

   Windows 7 Professional SP1

Web Server:

    Windiws Server 2008 Standard Edition SP2

  Internet Information Server 7.0

Thanks,


Izumi.

Profile Image 23 Posts 23 Karma
Admin
petecole posted this 19 June 2014

What happens when you do not use ScriptX for printing, either use the toolbar or menu or window.print() on the same PC with content from the same web server?

With factory.pirnting.print(), printing is performed by Internet Explorer just as if window.print() had been called.

are you using https://, has caching been disabled?

Pete Cole
MeadCo.

Profile Image 2 Posts 2 Karma
Izumi posted this 20 June 2014

Thanks for your reply,

I tried to use window.print() for prinying  insted of  factory.pirnting.print ()  and found the same result.

So I think it is a problem of Internet Explorer not the problem of ScriptX .  Thanks.