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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top