asp.net - After setting up BasePage.vb and creating a session, I have a strange query string in my URL -



asp.net - After setting up BasePage.vb and creating a session, I have a strange query string in my URL -

i guided nuux kind plenty help me through intricate process of localizing website, , giving client alternative manually select own language clicking flag , lasts entire time/session they're on website. website visual studio 2010 / vb / net 4.0.

in doing so, created class, basepage.vb. of pages set inherit: basepage in code behind. here's line of involvement basepage.vb:

'retrieve civilization info session dim culture__1 string = convert.tostring(session([global].session_key_culture))

everything functions great, , nuux perfect help. have 1 remaining issue. when go homepage (or page), there's unusual query string in there. think it's line in basepage.vb, more on page's code behind, because happens if open browser, bypass homepage going straight mydomain/about.aspx. instance, go page , shows up:

mydomain.com/(s(tp5bafoygn0ahwdp1mh0x4v5))/about.aspx

but languages work great , lastly entire session! (s(tp5bafoygn0ahwdp1mh0x4v5)) ? should rid of it, , if so, how go doing this? give thanks you!

that called cookieless session identifier.

change

<sessionstate cookieless="true" />

to

<sessionstate cookieless="false" />

in web.config. mind you, if intentionally want cookieless session (which not bother these days), behavior normal.

asp.net vb.net string visual-studio-2010

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -