CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 10/31/2005 10:21:58 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 43 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
fUNKYgIBBON
Asp.Net User
How do I get rid of cookieless characters in URL10/31/2005 10:21:58 AM

0

Hi,

I am using cookieless authentication.
My URLs for the site are of the form:

http://localhost:2143/MySite/(F(5zzsImafWS7Uty_WyrPvIICtJxbkDtKl1s-oMFkU5memVraESgoXcY-BSnqnIKKhEPNUJzlRd2zRWtz-gFoRWthA2ZYKT0_1rQ2hJzuSJ9KeKZsrecY0Jy9YpE6WrL-50/pagename.aspx

I am making text files and stashing them in a folder called "files" which is in the site's top level directory.

In my code I reference these files as

Dim webpath As String = "files/" & filename & ".txt"

(filename is a string)
Now when I set a hyperlink to webpath using the following

HyperLink1.Target = "_blank"
HyperLink1.NavigateUrl = webpath

I have the problem that when I run the page and click on the hyperlink, what I actually try and open is

http://localhost:2143/MySite/(F(5zzsImafWS7Uty_WyrPvIICtJxbkDtKl1s-oMFkU5memVraESgoXcY-BSnqnIKKhEPNUJzlRd2zRWtz-gFoRWthA2ZYKT0_1rQ2hJzuSJ9KeKZsrecY0Jy9YpE6WrL-50))/files/xyzzy.txt 

The URL contains the cookieless authentication information and the files won't open.  How can I get rid of the cookieless information?

Any ideas gratefully accepted!

 

 

fUNKYgIBBON
Asp.Net User
Re: How do I get rid of cookieless characters in URL10/31/2005 3:56:41 PM

0

I have solved this problem.  In case anyone else has some similar problem......

It appears to be related to the length of the URL.  I don't know if there is a max number of chars that can be used?

Although in the example above I used xyzzy.txt, in reality I was using 

Dim filename As String = DateTime.Now.ToBinary.ToString

just to generate a near-unique filename

When I did that it didn't work.....

but when I shorten the filename by

filename = Mid$(filename, (filename.Length - 5))

then it works just fine.

Most wierd.

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Getting cookie in url when - cookieless="true" Talk about Getting cookie in url when - cookieless="true" ... Why is this and whats how do I get rid of it. I thought that if ...
ASP :: Cookieless ASP Sessions Asp Cookieless Session URL Munger? I have a small ASP site running, which uses Session Cookies to support. Session state. I'm being asked to get rid of the ...
Visual Studio .NET Getting Rid of the Session Id in my URL? ... how do I get rid of the id in my url? set cookieless sessions = false in web config. Robbe Morris replied at 06-Oct-04 02:19 ...
Re: cookie-less sessions Sep 26, 2002 ... then uses sessions and > > if you logout it gets rid of the session again. ... but using the URL-rewrite-method I always get the session > id ... cookie- less sessions. From: Jochen Topf ...
CodeProject: Switching Between HTTP and HTTPS Automatically ... You can get rid of the warnings regarding missing schema information and get ... and the user visits a page via mysite.com, 4 characters ( www. ... This ensures that the session ID is available for cookie-less session processing. .... New to this and URL Rewrite (as in I have researched alot over the last year but ...

ControlParameter and EditTemplate in DetailsView - ng.asp-net ... how do i get rid of cookieless characters in url · question about setting up site in visual web developer 2005 express edition · vwd radio button & labels ...












difference from vwd express and pro

vwd express and class libraries

build error?

running vwd 2005 and vs 2003 together

class for gridview

asp.net configuration

visual basic vs. visual web developer

vwd express vs. access database passwords

asp.net c# and sql server 2005 express connection problems

problems uploading with visual web developer

sql connection with vs 2005

some questions

problems with deployment

is there a c# version of the guided tour

problems running asp.net 2.0 on server 2003

vwd installation

importing a vs2003 solution

where can i get some free programs written by vwd?

error with vwd2005

what is the difference between vwd 2005 express and the one that in studio 2005

visual web developer & iis: interoperability and/or problems?

how to add crystal report viewer?

web.config messages in error list in vwd express 2005

inserting in access database

can't select j# as a page language in vwd

why is datasource component code in <html> section?

help - how can i change betweem .net beta 2.0 and .net 1.1?

what does the "clean solution" option under the build menu of vwd do?

vmd not supporting sql server 2000?

how do i take user info from a page using a repeater control to a confirmation page?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT