Creating files on Client side

T

Tanmaya Kulkarni

Hi,

Since C# / VB.Net code executes on the server, all the path given during
file creation point to physical path on server.

Is there some mechanism where were can create text files on the client. I
want these files to be different for each client.

TIA,
Tanmaya
 
L

Laurent Bugnion

Hi,

Tanmaya said:
Hi,

Since C# / VB.Net code executes on the server, all the path given during
file creation point to physical path on server.

Is there some mechanism where were can create text files on the client. I
want these files to be different for each client.

TIA,
Tanmaya

Given the correct permissions, client-side JavaScript can create text
files on the client.
http://www.galasoft-lb.ch/myjavascript/CExplorer/index.html

However, I would really think that over: Do you really want to save
something on your user's PC? I would rather advise against that.

I would either use cookies
http://www.galasoft-lb.ch/myjavascript/CCookie/index.html
or save the files on the server, using a SessionID or any other
mechanism (username/password) to save user-specific files.

HTH,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top